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

Method GetShortName

src/fco/fconame.cpp:316–323  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// GetShortName //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

314// GetShortName
315///////////////////////////////////////////////////////////////////////////////
316const TCHAR* cFCOName::GetShortName() const
317{
318 ASSERT(!mpPathName->mNames.empty());
319 if (mpPathName->mNames.empty())
320 return 0;
321
322 return (mpPathName->mNames.back()->GetString());
323}
324
325///////////////////////////////////////////////////////////////////////////////
326// Clear

Callers 1

GetRelationshipMethod · 0.45

Calls 2

emptyMethod · 0.80
GetStringMethod · 0.45

Tested by

no test coverage detected