21 #ifndef INCLUDE_OLA_FILE_UTIL_H_
22 #define INCLUDE_OLA_FILE_UTIL_H_
30 extern const char PATH_SEPARATOR;
40 bool FindMatchingFiles(
const std::string &directory,
41 const std::string &prefix,
42 std::vector<std::string> *files);
52 bool FindMatchingFiles(
const std::string &directory,
53 const std::vector<std::string> &prefixes,
54 std::vector<std::string> *files);
63 bool ListDirectory(
const std::string& directory,
64 std::vector<std::string> *files);
73 std::string FilenameFromPathOrDefault(
const std::string &path,
74 const std::string &default_value);
83 std::string FilenameFromPathOrPath(
const std::string &path);
90 std::string FilenameFromPath(
const std::string &path);
93 #endif // INCLUDE_OLA_FILE_UTIL_H_