This commit is contained in:
2022-01-03 09:01:21 +08:00
parent 65b9f06319
commit 49ae127b16
8 changed files with 218 additions and 0 deletions

View File

@@ -163,5 +163,11 @@ namespace fileop {
* @return true if successed.
*/
bool listdir(std::string path, std::list<std::string>& filelist, bool ignore_hidden_file = true);
/**
* @brief Return a path without file extension
* @param path Path
* @return Result
*/
std::string filename(std::string path);
}
#endif