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

Function is_git_file_mode

commands.cpp:511–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511static bool is_git_file_mode (const std::string& mode)
512{
513 return (std::strtoul(mode.c_str(), nullptr, 8) & 0170000) == 0100000;
514}
515
516static void get_encrypted_files (std::vector<std::string>& files, const char* key_name)
517{

Callers 2

get_encrypted_filesFunction · 0.85
statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected