aboutsummaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:57:41 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-11-04 16:57:41 +0100
commit6ccb5835ff55d85156be91473c598eca9d6cb9a6 (patch)
tree7f1eaf8b94694c8e24e206909ba8f55a1ebfbb3e /src/filesys.h
parent244713971a976e43e8740b6a9d9d122e37020ef2 (diff)
downloaddragonfireclient-6ccb5835ff55d85156be91473c598eca9d6cb9a6.tar.xz
Revert "Make Lint Happy"
This reverts commit ad148587dcf5244c2d2011dba339786c765c54c4.
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/filesys.h b/src/filesys.h
index 41395320c..09f129aa3 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -80,8 +80,10 @@ std::vector<std::string> GetRecursiveDirs(const std::string &dir);
list files - include files in the list of subpaths.
ignore - paths that start with these charcters will not be listed.
*/
-void GetRecursiveSubPaths(const std::string &path, std::vector<std::string> &dst,
- bool list_files, const std::set<char> &ignore = {});
+void GetRecursiveSubPaths(const std::string &path,
+ std::vector<std::string> &dst,
+ bool list_files,
+ const std::set<char> &ignore = {});
// Tries to delete all, returns false if any failed
bool DeletePaths(const std::vector<std::string> &paths);
@@ -108,8 +110,8 @@ bool PathStartsWith(const std::string &path, const std::string &prefix);
// returns "" if there is only one path component.
// removed: If non-NULL, receives the removed component(s).
// count: Number of components to remove
-std::string RemoveLastPathComponent(
- const std::string &path, std::string *removed = NULL, int count = 1);
+std::string RemoveLastPathComponent(const std::string &path,
+ std::string *removed = NULL, int count = 1);
// Remove "." and ".." path components and for every ".." removed, remove
// the last normal path component before it. Unlike AbsolutePath,