Function mrpt::system::deleteFilesInDirectory

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

deleteFile

Returns:

true on success