This commit is contained in:
2025-03-10 10:46:38 +08:00
parent d4d0be7e7a
commit 5fde5e6e52
6 changed files with 148 additions and 2 deletions

View File

@@ -175,5 +175,12 @@ namespace fileop {
* @return 0(>=0) succeed. EOF error happened.
*/
int fcloseall();
/**
* @brief Return a relative path
* @param path Path
* @param start Start path
* @return Result
*/
std::string relpath(std::string path, std::string start = "");
}
#endif