MCPcopy Create free account
hub / github.com/AGWA/git-crypt / load_from_file

Method load_from_file

key.cpp:265–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265bool Key_file::load_from_file (const char* key_file_name)
266{
267 std::ifstream key_file_in(key_file_name, std::fstream::binary);
268 if (!key_file_in) {
269 return false;
270 }
271 load(key_file_in);
272 return true;
273}
274
275bool Key_file::store_to_file (const char* key_file_name) const
276{

Callers 1

unlockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected