File and path utilities.
More...
|
bool | PathExists (const std::string &path) |
| Check if path exists.
|
|
std::size_t | FileSize (const std::string &path) |
| Get file size.
|
|
◆ PathExists()
bool fpsdk::common::path::PathExists |
( |
const std::string & | path | ) |
|
Check if path exists.
- Parameters
-
[in] | path | Path (file or directory) to check |
- Returns
- true if path exists, false otherwise
◆ FileSize()
std::size_t fpsdk::common::path::FileSize |
( |
const std::string & | path | ) |
|
Get file size.
- Parameters
-
- Returns
- the size of the file in bytes, 0 is only valid if file is readable