Function mrpt::system::deleteFilesInDirectory
Defined in File filesystem.h
Function Documentation
-
bool mrpt::system::deleteFilesInDirectory(const std::string &s, bool deleteDirectoryAsWell = false)
Delete all the files in a given directory (nothing done if directory does not exists, or path is a file).
See also
- Returns:
true on success