summaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-08-24 17:00:06 -0400
committerShadowNinja <shadowninja@minetest.net>2015-12-07 13:51:41 -0500
commitea2964f5a168cb52d1b9f74a08f00c7c068c6649 (patch)
tree77785296ca680eced53d3c3e976a5dc948d5df30 /src/filesys.h
parent51e8c2b27786c050f0271eeeaed5eea17d62f0a0 (diff)
downloadminetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.tar.gz
minetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.tar.bz2
minetest-ea2964f5a168cb52d1b9f74a08f00c7c068c6649.zip
Add seperate cache path
This is set to the XDG cache path where possible. It's set to the app's cache path on Android.
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h
index cc6f43ec4..94d0c874d 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -115,6 +115,8 @@ const char *GetFilenameFromPath(const char *path);
bool safeWriteToFile(const std::string &path, const std::string &content);
+bool Rename(const std::string &from, const std::string &to);
+
} // namespace fs
#endif