Lines Matching defs:path
34 bool FileSystem::IsFileExists(std::string path)
36 return S_ISREG(GetFileMode(path));
39 bool FileSystem::IsDirectoryExists(std::string path)
41 return S_ISDIR(GetFileMode(path));
48 ELOG("Get current path failed.");
51 std::string path(appPath);
52 return path;
64 ELOG("Application path is not exists.");
67 for (std::string path : pathList) {
69 dirToMake += path;
78 int FileSystem::MakeDir(std::string path)
82 result = mkdir(path.data());
84 result = mkdir(path.data(), S_IRUSR | S_IWUSR | S_IXUSR);
94 unsigned short FileSystem::GetFileMode(std::string path)
97 if (stat(path.data(), &info) != 0) {
113 std::string FileSystem::NormalizePath(const std::string& path)
115 std::string normalizedPath = path;