MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Flush

Method Flush

src/db/blockfile.cpp:136–143  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// Flush //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

134// Flush
135///////////////////////////////////////////////////////////////////////////////
136void cBlockFile::Flush()
137{
138 ASSERT(mpArchive);
139 for (BlockVector::iterator i = mvPagedBlocks.begin(); i != mvPagedBlocks.end(); ++i)
140 {
141 FlushBlock(&(*i));
142 }
143}
144
145///////////////////////////////////////////////////////////////////////////////
146// GetBlock

Callers 1

WriteMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected