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

Function gpg_get_executable

gpg.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#include <sstream>
35
36static std::string gpg_get_executable()
37{
38 std::string gpgbin = "gpg";
39 try {
40 gpgbin = get_git_config("gpg.program");
41 } catch (...) {
42 }
43 return gpgbin;
44}
45static std::string gpg_nth_column (const std::string& line, unsigned int col)
46{
47 std::string::size_type pos = 0;

Callers 5

gpg_get_uidFunction · 0.85
gpg_lookup_keyFunction · 0.85
gpg_list_secret_keysFunction · 0.85
gpg_encrypt_to_fileFunction · 0.85
gpg_decrypt_from_fileFunction · 0.85

Calls 1

get_git_configFunction · 0.85

Tested by

no test coverage detected