MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / endFile

Method endFile

common/script/zip_api.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136 bool writeFile(const void* data, size_t n) override { return out != nullptr && fwrite(data, 1, n, out) == n; }
137 void endFile() override
138 {
139 if (out != nullptr) {
140 fclose(out);
141 out = nullptr;
142 }
143 }
144 };
145
146 // Recursively gather files (with '/'-separated relative paths) and the dir

Callers 1

extractZipFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected