26 std::string &filepath,
27 const std::string &default_extension =
"");
36 const std::string &folder_path,
37 const std::string &wildcard_pattern);
Static functions for accessing the file system.
static std::vector< std::string > ListFolder(const std::string &folder_path, const std::string &wildcard_pattern)
List (not recursively) regular files at folder_path matching wildcard_pattern.
static void ValidateFilePath(std::string &filepath, const std::string &default_extension="")
Convenient function to validate a path before creating a file.
This file contains definitions of common data structures used in traffic manager.