]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/filesys.h
Refactor utf8_to_wide/wide_to_utf8 functions
[dragonfireclient.git] / src / filesys.h
index 09f129aa332815e91b988e3d9c2c0f7e3a02b581..cfbfa02bfa0fa13563440781fd4f20497fca5c8e 100644 (file)
@@ -85,9 +85,6 @@ void GetRecursiveSubPaths(const std::string &path,
                  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);
-
 // Only pass full paths to this one. True on success.
 bool RecursiveDeleteContent(const std::string &path);
 
@@ -128,6 +125,8 @@ const char *GetFilenameFromPath(const char *path);
 
 bool safeWriteToFile(const std::string &path, const std::string &content);
 
+bool ReadFile(const std::string &path, std::string &out);
+
 bool Rename(const std::string &from, const std::string &to);
 
 } // namespace fs