MCPcopy Create free account
hub / github.com/comaps/comaps / ~UnzipFileDelegate

Method ~UnzipFileDelegate

libs/coding/zip_reader.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 {}
21
22 ~UnzipFileDelegate() override
23 {
24 if (!m_completed)
25 {
26 m_file.reset();
27 FileWriter::DeleteFileX(m_path);
28 }
29 }
30
31 // ZipFileReader::Delegate overrides:
32 void OnBlockUnzipped(size_t size, char const * data) override { m_file->Write(data, size); }

Callers

nothing calls this directly

Calls 2

DeleteFileXFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected