21 #ifndef INCLUDE_OLA_FILE_UTIL_H_
22 #define INCLUDE_OLA_FILE_UTIL_H_
30 extern const char PATH_SEPARATOR;
37 std::string ConvertPathSeparators(
const std::string &path);
45 std::string JoinPaths(
const std::string &first,
const std::string &second);
55 bool FindMatchingFiles(
const std::string &directory,
56 const std::string &prefix,
57 std::vector<std::string> *files);
67 bool FindMatchingFiles(
const std::string &directory,
68 const std::vector<std::string> &prefixes,
69 std::vector<std::string> *files);
79 bool ListDirectory(
const std::string& directory,
80 std::vector<std::string> *files);
89 std::string FilenameFromPathOrDefault(
const std::string &path,
90 const std::string &default_value);
99 std::string FilenameFromPathOrPath(
const std::string &path);
106 std::string FilenameFromPath(
const std::string &path);
109 #endif // INCLUDE_OLA_FILE_UTIL_H_
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44