diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-09-16 14:51:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 14:51:11 +0100 |
commit | 9ec75d77651c333eca3c5b46a3a56c8353fed464 (patch) | |
tree | fb8d42716279514e8850e53e47973a0f6d0ef7d5 /src/filesys.h | |
parent | c8303f790ccb03857d031ecb73de7f9f59a6ceba (diff) | |
download | minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.tar.gz minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.tar.bz2 minetest-9ec75d77651c333eca3c5b46a3a56c8353fed464.zip |
Clean up server-side translations, remove global variable (#10075)
Diffstat (limited to 'src/filesys.h')
-rw-r--r-- | src/filesys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h index 09f129aa3..b2c800c55 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -128,6 +128,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 |