mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-06-06 05:08:45 +08:00
Update
This commit is contained in:
6
fileop.h
6
fileop.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user