projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow full circle rotation with 2degs step for plantlike drawtype.
[oweals/minetest.git]
/
src
/
filesys.h
diff --git
a/src/filesys.h
b/src/filesys.h
index d0bf400c78921ca44d8891964a8d2e32dfd45c5d..1b3659afee947d8f2ecd3ff78a71fe36de5bdf86 100644
(file)
--- a/
src/filesys.h
+++ b/
src/filesys.h
@@
-98,6
+98,8
@@
std::string RemoveLastPathComponent(std::string path,
// this does not resolve symlinks and check for existence of directories.
std::string RemoveRelativePathComponents(std::string path);
+bool safeWriteToFile(const std::string &path, const std::string &content);
+
}//fs
#endif