Searched refs:resultPath (Results 1 – 2 of 2) sorted by relevance
324 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PreUpdatePackages() local325 if (access(resultPath.c_str(), F_OK) != -1) { in PreUpdatePackages()326 (void)DeleteFile(resultPath); in PreUpdatePackages()419 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PostUpdatePackages() local420 std::ifstream fin {resultPath}; in PostUpdatePackages()422 LOG(ERROR) << "read result file error " << resultPath; in PostUpdatePackages()
504 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in CheckDumpResult() local505 ifs.open(resultPath, std::ios::in); in CheckDumpResult()523 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in WriteDumpResult() local524 FILE *fp = fopen(resultPath.c_str(), "w+"); in WriteDumpResult()540 (void)chown(resultPath.c_str(), USER_ROOT_AUTHORITY, GROUP_UPDATE_AUTHORITY); in WriteDumpResult()541 (void)chmod(resultPath.c_str(), 0660); // 0660: -rw-rw---- in WriteDumpResult()