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

Method latest

key.cpp:303–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303uint32_t Key_file::latest () const
304{
305 if (is_empty()) {
306 throw std::invalid_argument("Key_file::latest");
307 }
308 return entries.begin()->first;
309}
310
311bool validate_key_name (const char* key_name, std::string* reason)
312{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected