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

Function validate_key_name_or_throw

commands.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232static void validate_key_name_or_throw (const char* key_name)
233{
234 std::string reason;
235 if (!validate_key_name(key_name, &reason)) {
236 throw Error(reason);
237 }
238}
239
240static std::string get_internal_state_path ()
241{

Callers 1

initFunction · 0.85

Calls 2

validate_key_nameFunction · 0.85
ErrorClass · 0.85

Tested by

no test coverage detected