Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AGWA/git-crypt
/ same_key_name
Function
same_key_name
commands.cpp:227–230 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
225
}
226
227
static bool same_key_name (const char* a, const char* b)
228
{
229
return (!a && !b) || (a && b && std::strcmp(a, b) == 0);
230
}
231
232
static void validate_key_name_or_throw (const char* key_name)
233
{
Callers
1
decrypt_repo_key
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected