Searched refs:dirpath (Results 1 – 3 of 3) sorted by relevance
115 std::vector<std::string> GetEntriesInDir(const std::string& dirpath) { in GetEntriesInDir() argument117 DIR* dir = opendir(dirpath.c_str()); in GetEntriesInDir()119 PLOG(DEBUG) << "can't open dir " << dirpath; in GetEntriesInDir()133 std::vector<std::string> GetSubDirs(const std::string& dirpath) { in GetSubDirs() argument134 std::vector<std::string> entries = GetEntriesInDir(dirpath); in GetSubDirs()137 if (IsDir(dirpath + "/" + entries[i])) { in GetSubDirs()144 bool IsDir(const std::string& dirpath) { in IsDir() argument146 if (stat(dirpath.c_str(), &st) == 0) { in IsDir()
143 std::vector<std::string> GetEntriesInDir(const std::string& dirpath);144 std::vector<std::string> GetSubDirs(const std::string& dirpath);145 bool IsDir(const std::string& dirpath);
62 for dirpath, _, files in os.walk(args.dir):63 transform = lambda x: os.path.join(dirpath, x)