Android-cuttlefish cvd tool
|
#include <zip_cc.h>
Public Types | |
enum class | OpenBehavior { KeepIfExists , Truncate } |
Public Member Functions | |
WritableZip (WritableZip &&) | |
~WritableZip () override | |
WritableZip & | operator= (WritableZip &&) |
Result< void > | AddFile (const std::string &name, ReadableZipSource) |
![]() | |
ReadableZip (ReadableZip &&) | |
virtual | ~ReadableZip () |
ReadableZip & | operator= (ReadableZip &&) |
Result< uint64_t > | NumEntries () |
Result< SeekableZipSource > | GetFile (const std::string &name) |
Result< SeekableZipSource > | GetFile (uint64_t index) |
Static Public Member Functions | |
static Result< WritableZip > | FromSource (WritableZipSource, OpenBehavior open_behavior=OpenBehavior::Truncate) |
static Result< void > | Finalize (WritableZip) |
![]() | |
static Result< ReadableZip > | FromSource (SeekableZipSource) |
Private Member Functions | |
WritableZip (std::unique_ptr< Impl >) | |
Static Private Member Functions | |
static Result< WritableZip > | FromSource (WritableZipSource, int flags) |
|
strong |
|
default |
|
overridedefault |
|
private |
Result< void > cuttlefish::WritableZip::AddFile | ( | const std::string & | name, |
ReadableZipSource | source | ||
) |
|
static |
|
staticprivate |
|
static |
|
default |