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

Method ByteHashFile

Source/cmCryptoHash.cxx:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189std::vector<unsigned char> cmCryptoHash::ByteHashFile(std::string const& file)
190{
191 cmsys::ifstream fin(file.c_str(), std::ios::in | std::ios::binary);
192 return this->ByteHashStream(fin);
193}
194
195std::string cmCryptoHash::HashString(cm::string_view input)
196{

Callers 1

HashFileMethod · 0.95

Calls 2

ByteHashStreamMethod · 0.95
c_strMethod · 0.80

Tested by

no test coverage detected