Searched refs:dirname (Results 1 – 2 of 2) sorted by relevance
583 static void EnumerateStash(const std::string& dirname, in EnumerateStash() argument585 if (dirname.empty()) return; in EnumerateStash()587 std::unique_ptr<DIR, decltype(&closedir)> directory(opendir(dirname.c_str()), closedir); in EnumerateStash()591 PLOG(ERROR) << "opendir \"" << dirname << "\" failed"; in EnumerateStash()599 callback(dirname + "/" + item->d_name); in EnumerateStash()621 std::string dirname = GetStashFileName(base, "", ""); in DeleteStash() local622 EnumerateStash(dirname, DeleteFile); in DeleteStash()624 if (rmdir(dirname.c_str()) == -1) { in DeleteStash()626 PLOG(ERROR) << "rmdir \"" << dirname << "\" failed"; in DeleteStash()800 std::string dirname = GetStashFileName(base, "", ""); in CreateStash() local[all …]
431 std::string dir_name = dirname(&file_name[0]); in produce_block_map()