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

Method GetNumBlockInfos

libs/coding/text_storage.hpp:146–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 };
145
146 size_t GetNumBlockInfos() const { return m_blocks.size(); }
147 size_t GetNumStrings() const { return m_blocks.empty() ? 0 : static_cast<size_t>(m_blocks.back().To()); }
148
149 BlockInfo const & GetBlockInfo(size_t blockIx) const

Callers 2

ExtractStringMethod · 0.80
UNIT_TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64