23 namespace localization {
29 static bool IsExists(
const std::string& path);
35 static bool GetFileSize(
const std::string& path,
unsigned int* size);
37 static bool CopyFile(
const std::string& src,
const std::string& dst,
38 bool is_overwrite =
true);
42 const std::string& ext,
43 std::vector<std::string>* ret);
47 const std::string& ext,
48 std::vector<std::string>* ret);
51 std::vector<std::string>* ret);
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
static bool IsExists(const std::string &path)
Determine if the file or directory exists.
static bool GetFileSize(const std::string &path, unsigned int *size)
Get the size of a file.
static bool CreateDirectory(const std::string &path)
Try to create a directory.
static bool CopyFile(const std::string &src, const std::string &dst, bool is_overwrite=true)
Copy the file.
static void GetFilesInFolderRecursive(const std::string &folder, const std::string &ext, std::vector< std::string > *ret)
get list of files end with ext in folder.
static bool IsDirectory(const std::string &path)
Determine if the path is a directory.
Definition: system_utility.h:26
static void GetFoldersInFolder(const std::string &folder, std::vector< std::string > *ret)
Get list of folders in folder.
static void GetFilesInFolder(const std::string &folder, const std::string &ext, std::vector< std::string > *ret)
get list of files end with ext in folder.