Home
last modified time | relevance | path

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

/base/update/updater/utils/
Dutils.cpp638 long long int GetDirSize(const std::string &folderPath) in GetDirSize() argument
640 DIR* dir = opendir(folderPath.c_str()); in GetDirSize()
642 LOG(ERROR) << "Failed to open folder: " << folderPath << std::endl; in GetDirSize()
650 std::string filePath = folderPath + "/" + fileName; in GetDirSize()
680 bool DeleteOldFile(const std::string folderPath) in DeleteOldFile() argument
682 DIR* dir = opendir(folderPath.c_str()); in DeleteOldFile()
684 LOG(ERROR) << "Failed to open folder: " << folderPath << std::endl; in DeleteOldFile()
693 std::string filePath = folderPath + "/" + fileName; in DeleteOldFile()
/base/update/updater/utils/include/
Dutils.h74 long long int GetDirSize(const std::string &folderPath);