Lines Matching refs:archive_filepath
34 std::vector<std::string>& files, const std::string& archive_filepath, in ExtractHelper() argument
36 CF_EXPECT(!files.empty(), "No files extracted from " << archive_filepath); in ExtractHelper()
48 if (!keep_archive && unlink(archive_filepath.data()) != 0) { in ExtractHelper()
49 LOG(ERROR) << "Could not delete " << archive_filepath; in ExtractHelper()
50 files.push_back(archive_filepath); in ExtractHelper()
125 const std::string& archive_filepath, const std::string& target_directory, in ExtractImages() argument
127 Archive archive(archive_filepath); in ExtractImages()
129 "Could not extract images from \"" << archive_filepath << "\" to \"" in ExtractImages()
133 return ExtractHelper(files, archive_filepath, target_directory, keep_archive); in ExtractImages()
136 Result<std::string> ExtractImage(const std::string& archive_filepath, in ExtractImage() argument
141 ExtractImages(archive_filepath, target_directory, {image}, keep_archive)); in ExtractImage()
146 const std::string& archive_filepath, const std::string& target_directory, in ExtractArchiveContents() argument
148 Archive archive(archive_filepath); in ExtractArchiveContents()
150 "Could not extract \"" << archive_filepath << "\" to \"" in ExtractArchiveContents()
154 return ExtractHelper(files, archive_filepath, target_directory, keep_archive); in ExtractArchiveContents()