MCPcopy Index your code
hub / github.com/google/git-appraise / GetUserSigningKey

Method GetUserSigningKey

repository/git.go:160–162  ·  view source on GitHub ↗

GetUserSigningKey returns the key id the user has configured for sigining git artifacts.

()

Source from the content-addressed store, hash-verified

158// GetUserSigningKey returns the key id the user has configured for
159// sigining git artifacts.
160func (repo *GitRepo) GetUserSigningKey() (string, error) {
161 return repo.runGitCommand("config", "user.signingKey")
162}
163
164// GetCoreEditor returns the name of the editor that the user has used to configure git.
165func (repo *GitRepo) GetCoreEditor() (string, error) {

Callers

nothing calls this directly

Calls 1

runGitCommandMethod · 0.95

Tested by

no test coverage detected