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

Method ~TmpFile

generator/feature_sorter.cpp:320–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318 FileWriter & GetWriter() { return *m_writer; }
319
320 ~TmpFile()
321 {
322 auto const name = m_writer->GetName();
323 m_writer.reset();
324 FileWriter::DeleteFileX(name);
325 }
326 };
327
328 using TmpFiles = std::vector<std::unique_ptr<TmpFile>>;

Callers

nothing calls this directly

Calls 3

DeleteFileXFunction · 0.85
GetNameMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected