Functions providing the ability to check files and folders.
More...
Group of functions that checks and analyzes folders and files
◆ countLinesInFile()
INLINE std::size_t ai::countLinesInFile |
( |
const std::string |
filename, |
|
|
const std::string |
token = std::string() |
|
) |
| |
◆ folderExists()
bool ai::folderExists |
( |
const std::string |
name | ) |
|
This function checks if the given directory actually exists
- Parameters
-
- Returns
- True if folder exists, false otherwise
◆ listFilesWithExtension()
INLINE std::vector<std::string> ai::listFilesWithExtension |
( |
std::string |
path, |
|
|
const std::string |
extension, |
|
|
const std::string |
prefix = std::string() , |
|
|
const bool |
addPathToFileNames = false |
|
) |
| |