MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / GetLastEntry

Method GetLastEntry

Bcore/src/main/cpp/ziparchive/zip_writer.cc:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282int32_t ZipWriter::GetLastEntry(FileEntry* out_entry) {
283 CHECK(out_entry != nullptr);
284
285 if (files_.empty()) {
286 return kInvalidState;
287 }
288 *out_entry = files_.back();
289 return kNoError;
290}
291
292int32_t ZipWriter::PrepareDeflate() {
293 CHECK(state_ == State::kWritingZip);

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected