MCPcopy Create free account
hub / github.com/comaps/comaps / SaveCurrentSize

Method SaveCurrentSize

libs/coding/files_container.cpp:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341uint64_t FilesContainerW::SaveCurrentSize()
342{
343 ASSERT(!m_finished, ());
344 uint64_t const curr = FileReader(m_name).Size();
345 if (!m_info.empty())
346 m_info.back().m_size = curr - m_info.back().m_offset;
347 return curr;
348}
349
350void FilesContainerW::DeleteSection(Tag const & tag)
351{

Callers

nothing calls this directly

Calls 5

ASSERTFunction · 0.85
backMethod · 0.80
FileReaderClass · 0.70
SizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected