Searched refs:folderPath (Results 1 – 4 of 4) sorted by relevance
726 long long int GetDirSize(const std::string &folderPath) in GetDirSize() argument728 DIR* dir = opendir(folderPath.c_str()); in GetDirSize()730 LOG(ERROR) << "Failed to open folder: " << folderPath << std::endl; in GetDirSize()738 std::string filePath = folderPath + "/" + fileName; in GetDirSize()768 bool DeleteOldFile(const std::string folderPath) in DeleteOldFile() argument770 DIR* dir = opendir(folderPath.c_str()); in DeleteOldFile()772 LOG(ERROR) << "Failed to open folder: " << folderPath << std::endl; in DeleteOldFile()781 std::string filePath = folderPath + "/" + fileName; in DeleteOldFile()
504 std::string folderPath = ""; in CreateFileForRequest() local506 folderPath = faultLoggerConfig_->GetLogFilePath(); in CreateFileForRequest()508 folderPath = faultLoggerConfig_->GetDebugLogFilePath(); in CreateFileForRequest()517 ss << folderPath << "/" << typeStr << "-" << pid; in CreateFileForRequest()
75 long long int GetDirSize(const std::string &folderPath);
875 for (const auto &folderPath : dirs) { in SetDirsPermission() local876 fs::path folder = folderPath; in SetDirsPermission()1015 for (const auto &folderPath : dirs) { in RemoveDirsPermission() local1016 fs::path folder = folderPath; in RemoveDirsPermission()