summaryrefslogtreecommitdiff
path: root/src/fsutils.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-03 23:38:36 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-03 23:39:29 +0200
commit052a162715449252bb6126c41dd1700b1440c394 (patch)
treed4277bae097d8b2e476d4fab2f6e065995b651e2 /src/fsutils.hh
parentfec5364398c0cdb59db056c9530730a15c9fba9e (diff)
Improve db_path
Diffstat (limited to 'src/fsutils.hh')
-rw-r--r--src/fsutils.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fsutils.hh b/src/fsutils.hh
new file mode 100644
index 0000000..29bc022
--- /dev/null
+++ b/src/fsutils.hh
@@ -0,0 +1,14 @@
+#ifndef FSUTILS_HH
+#define FSUTILS_HH
+
+#include <string>
+
+namespace stuff {
+
+bool isdir(const std::string& path);
+
+bool mkdir_p(const std::string& path);
+
+} // namespace stuff
+
+#endif /* FSUTILS_HH */