Searched refs:follow_symlinks (Results 1 – 2 of 2) sorted by relevance
29 bool FileExists(const std::string& path, bool follow_symlinks = true);41 bool DirectoryExists(const std::string& path, bool follow_symlinks = true);
80 bool FileExists(const std::string& path, bool follow_symlinks) { in FileExists() argument82 return (follow_symlinks ? stat : lstat)(path.c_str(), &st) == 0; in FileExists()160 bool DirectoryExists(const std::string& path, bool follow_symlinks) { in DirectoryExists() argument162 if ((follow_symlinks ? stat : lstat)(path.c_str(), &st) == -1) { in DirectoryExists()