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

Function ExtractEntryToFile

Bcore/src/main/cpp/ziparchive/zip_archive.cc:1084–1091  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082}
1083
1084int32_t ExtractEntryToFile(ZipArchiveHandle handle, ZipEntry* entry, int fd) {
1085 auto writer = FileWriter::Create(fd, entry);
1086 if (!writer.IsValid()) {
1087 return kIoError;
1088 }
1089
1090 return ExtractToWriter(handle, entry, &writer);
1091}
1092
1093const char* ErrorCodeString(int32_t error_code) {
1094 // Make sure that the number of entries in kErrorMessages and ErrorCodes

Callers

nothing calls this directly

Calls 2

ExtractToWriterFunction · 0.85
IsValidMethod · 0.45

Tested by

no test coverage detected