Lines Matching refs:tarFilePath
82 int Manager::processImage(const std::string& tarFilePath) in processImage() argument
85 if (!fs::is_regular_file(tarFilePath, ec)) in processImage()
87 error("Tarball {PATH} does not exist: {ERROR_MSG}", "PATH", tarFilePath, in processImage()
89 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
92 RemovablePath tarPathRemove(tarFilePath); in processImage()
111 auto rc = unTar(tarFilePath, tmpDirPath.string()); in processImage()
121 error("No manifest file {PATH}: {ERROR_MSG}", "PATH", tarFilePath, in processImage()
123 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
132 tarFilePath); in processImage()
133 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
178 tarFilePath); in processImage()
179 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage()
261 int Manager::unTar(const std::string& tarFilePath, in unTar() argument
264 if (tarFilePath.empty()) in unTar()
267 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
277 info("Untaring {PATH} to {EXTRACTIONDIR}", "PATH", tarFilePath, in unTar()
285 execl("/bin/tar", "tar", "-xf", tarFilePath.c_str(), "-C", in unTar()
288 error("Failed to execute untar on {PATH}", "PATH", tarFilePath); in unTar()
289 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
298 "PATH", tarFilePath); in unTar()
299 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()
306 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar()