Lines Matching refs:path
35 bool FileSystem::IsFileExists(string path) in IsFileExists() argument
37 return S_ISREG(GetFileMode(path)); in IsFileExists()
40 bool FileSystem::IsDirectoryExists(string path) in IsDirectoryExists() argument
42 return S_ISDIR(GetFileMode(path)); in IsDirectoryExists()
52 string path(appPath); in GetApplicationPath() local
53 return path; in GetApplicationPath()
68 for (string path : pathList) { in MakeVirtualFileSystemPath() local
70 dirToMake += path; in MakeVirtualFileSystemPath()
79 int FileSystem::MakeDir(string path) in MakeDir() argument
83 result = mkdir(path.data()); in MakeDir()
85 result = mkdir(path.data(), S_IRUSR | S_IWUSR | S_IXUSR); in MakeDir()
95 unsigned short FileSystem::GetFileMode(string path) in GetFileMode() argument
98 if (stat(path.data(), &info) != 0) { in GetFileMode()