Home
last modified time | relevance | path

Searched refs:updatePath (Results 1 - 2 of 2) sorted by relevance

/base/update/sys_installer/services/module_update/src/
H A Dmodule_update.cpp60 bool StageUpdateModulePackage(const string &updatePath, const string &stagePath) in StageUpdateModulePackage() argument
77 ret = link(updatePath.c_str(), stagePath.c_str()); in StageUpdateModulePackage()
79 LOG(ERROR) << "Unable to link " << updatePath << " to " << stagePath; in StageUpdateModulePackage()
85 if (Updater::Utils::GetFilesFromDirectory(updatePath.substr(0, updatePath.rfind("/")), files, true) <= 0) { in StageUpdateModulePackage()
86 LOG(ERROR) << "Failed to get files form " << updatePath; in StageUpdateModulePackage()
98 LOG(INFO) << "success to link " << updatePath << " to " << stagePath; in StageUpdateModulePackage()
162 string updatePath = updateModuleFile->GetPath(); in GetLatestUpdateModulePackage() local
164 updatePath.substr(strlen(UPDATE_INSTALL_DIR), updatePath in GetLatestUpdateModulePackage()
[all...]
/base/update/updater/services/diffpatch/patch_shared/
H A Dpatch_shared.cpp65 static bool UpdatePathCheck(const std::string &updatePath, size_t length) in UpdatePathCheck() argument
67 if (updatePath.empty() || length == 0) { in UpdatePathCheck()
68 LOG(ERROR) << "updatePath is nullptr."; in UpdatePathCheck()
73 if (realpath(updatePath.c_str(), realPath) == nullptr) { in UpdatePathCheck()

Completed in 2 milliseconds