Home
last modified time | relevance | path

Searched refs:folderPath (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/utils/
Dutils.cpp726 long long int GetDirSize(const std::string &folderPath) in GetDirSize() argument
728 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() argument
770 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()
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_daemon.cpp504 std::string folderPath = ""; in CreateFileForRequest() local
506 folderPath = faultLoggerConfig_->GetLogFilePath(); in CreateFileForRequest()
508 folderPath = faultLoggerConfig_->GetDebugLogFilePath(); in CreateFileForRequest()
517 ss << folderPath << "/" << typeStr << "-" << pid; in CreateFileForRequest()
/base/update/updater/utils/include/
Dutils.h75 long long int GetDirSize(const std::string &folderPath);
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp875 for (const auto &folderPath : dirs) { in SetDirsPermission() local
876 fs::path folder = folderPath; in SetDirsPermission()
1015 for (const auto &folderPath : dirs) { in RemoveDirsPermission() local
1016 fs::path folder = folderPath; in RemoveDirsPermission()