From 052a162715449252bb6126c41dd1700b1440c394 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 3 Jun 2015 23:38:36 +0200 Subject: Improve db_path --- src/fsutils.hh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/fsutils.hh (limited to 'src/fsutils.hh') 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 + +namespace stuff { + +bool isdir(const std::string& path); + +bool mkdir_p(const std::string& path); + +} // namespace stuff + +#endif /* FSUTILS_HH */ -- cgit v1.2.3-70-g09d2