aboutsummaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-11-04 16:44:42 +0100
committerGitHub <noreply@github.com>2020-11-04 16:44:42 +0100
commit5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (patch)
treec980d614fec4a5495798be3e79e033229062c3cd /src/filesys.h
parent28f6a79706b088c37268a59d90878220dc4ef9c7 (diff)
parent3af10766fd2b58b068e970266724d7eb10e9316b (diff)
downloaddragonfireclient-5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc.tar.xz
Merge branch 'master' into master
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/filesys.h b/src/filesys.h
index 09f129aa3..41395320c 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -80,10 +80,8 @@ 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);
@@ -110,8 +108,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,