MCPcopy Create free account
hub / github.com/Kitware/CMake / getPart

Method getPart

Source/cmFilePathChecksum.cxx:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::string cmFilePathChecksum::getPart(std::string const& filePath,
83 size_t length) const
84{
85 return this->get(filePath).substr(0, length);
86}

Callers 2

InitScanFilesMethod · 0.80
GetMocBuildPathMethod · 0.80

Calls 2

getMethod · 0.95
substrMethod · 0.45

Tested by

no test coverage detected