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

Method GetNumStrings

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

Source from the content-addressed store, hash-verified

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
150 {

Callers

nothing calls this directly

Calls 3

backMethod · 0.80
emptyMethod · 0.45
ToMethod · 0.45

Tested by

no test coverage detected