21 #ifndef INCLUDE_OLA_FILE_UTIL_H_
22 #define INCLUDE_OLA_FILE_UTIL_H_
30 extern const char PATH_SEPARATOR;
39 void FindMatchingFiles(
const std::string &directory,
40 const std::string &prefix,
41 std::vector<std::string> *files);
50 void FindMatchingFiles(
const std::string &directory,
51 const std::vector<std::string> &prefixes,
52 std::vector<std::string> *files);
60 void ListDirectory(
const std::string& directory,
61 std::vector<std::string> *files);
70 std::string FilenameFromPathOrDefault(
const std::string &path,
71 const std::string &default_value);
80 std::string FilenameFromPathOrPath(
const std::string &path);
87 std::string FilenameFromPath(
const std::string &path);
90 #endif // INCLUDE_OLA_FILE_UTIL_H_