return 0;
}
+
+bool
+createDirectory (const std::string &dir) {
+ /* FIXME: use std::filesystem when c++17 is used */
+ std::string command = "mkdir -p " + dir;
+ int ret = system (command.c_str ());
+
+ if (ret != 127 && ret != -1)
+ ret = WEXITSTATUS (ret);
+
+ return ret == 0;
+}