20#include "absl/strings/string_view.h"
27Result<ReadableZip>
ZipOpenRead(
const std::string& fs_path);
30Result<void>
AddFile(WritableZip& zip,
const std::string& fs_path);
31Result<void>
AddFileAt(WritableZip& zip,
const std::string& fs_path,
32 const std::string& zip_path);
34Result<void>
ExtractFile(ReadableZip& zip, absl::string_view zip_path,
35 const std::string& host_path);
Definition: alloc_driver.h:21
Result< void > AddFile(WritableZip &zip, const std::string &fs_path)
Definition: zip_file.cc:50
Result< void > AddFileAt(WritableZip &zip, const std::string &fs_path, const std::string &zip_path)
Definition: zip_file.cc:55
Result< void > ExtractFile(ReadableZip &zip, absl::string_view zip_path, const std::string &host_path)
Definition: zip_file.cc:68
Result< ReadableZip > ZipOpenRead(const std::string &fs_path)
Definition: zip_file.cc:40
Result< WritableZip > ZipOpenReadWrite(const std::string &fs_path)
Definition: zip_file.cc:44