| 1082 | } |
| 1083 | |
| 1084 | int32_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 | |
| 1093 | const char* ErrorCodeString(int32_t error_code) { |
| 1094 | // Make sure that the number of entries in kErrorMessages and ErrorCodes |
nothing calls this directly
no test coverage detected