summaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-09-16 14:51:11 +0100
committerGitHub <noreply@github.com>2020-09-16 14:51:11 +0100
commit9ec75d77651c333eca3c5b46a3a56c8353fed464 (patch)
treefb8d42716279514e8850e53e47973a0f6d0ef7d5 /src/filesys.h
parentc8303f790ccb03857d031ecb73de7f9f59a6ceba (diff)
downloadminetest-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.h2
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