Searched refs:archive_filepath (Results 1 – 2 of 2) sorted by relevance
/device/google/cuttlefish/common/libs/utils/ |
D | archive.cpp | 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 [all …]
|
D | archive.h | 41 const std::string& archive_filepath, const std::string& target_directory, 44 Result<std::string> ExtractImage(const std::string& archive_filepath, 50 const std::string& archive_filepath, const std::string& target_directory,
|