4 * Created on: Mar 5, 2011
21 static std::string concat_paths(std::string path_start, std::string path_end);
22 static std::string concat_paths(const char *path_start, const char *path_end);
23 static bool is_subdirectory(const char *path, dirent *direntry);
24 static bool is_datafile(const char *path, dirent *direntry);
25 static std::vector<std::string> get_subdirectories(const std::string& path);
26 static std::vector<std::string> get_data_files(const std::string& path);
27 static char *parse_directory_path(const char *file_path);
28 static bool mkdirs(const char *path);
29 static std::ofstream *open_for_writing(const char *path);
33 #endif /* FILEUTIL_HH_ */