Searched refs:resultPath (Results 1 – 2 of 2) sorted by relevance
326 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PreUpdatePackages() local327 if (access(resultPath.c_str(), F_OK) != -1) { in PreUpdatePackages()328 (void)DeleteFile(resultPath); in PreUpdatePackages()443 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in PostUpdatePackages() local444 std::ifstream fin {resultPath}; in PostUpdatePackages()446 LOG(ERROR) << "read result file error " << resultPath; in PostUpdatePackages()
589 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in CheckResultFail() local590 ifs.open(resultPath, std::ios::in); in CheckResultFail()611 … const std::string resultPath = std::string(UPDATER_PATH) + "/" + std::string(UPDATER_RESULT_FILE); in WriteDumpResult() local612 FILE *fp = fopen(resultPath.c_str(), "w+"); in WriteDumpResult()628 (void)chown(resultPath.c_str(), USER_ROOT_AUTHORITY, GROUP_UPDATE_AUTHORITY); in WriteDumpResult()629 (void)chmod(resultPath.c_str(), 0660); // 0660: -rw-rw---- in WriteDumpResult()