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

Method SeekToRoot

src/db/hierdatabase.cpp:219–225  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// SeekToRoot //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

217// SeekToRoot
218///////////////////////////////////////////////////////////////////////////////
219void cHierDatabaseIter::SeekToRoot() //throw (eArchive)
220{
221 ASSERT(mpDb != 0);
222 ASSERT(!mpDb->mRootArrayAddr.IsNull());
223 mCurPath.Clear();
224 LoadArrayAt(mpDb->mRootArrayAddr);
225}
226
227///////////////////////////////////////////////////////////////////////////////
228// copy ctor

Callers

nothing calls this directly

Calls 2

IsNullMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected