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

Method GetUserEmail

repository/git.go:154–156  ·  view source on GitHub ↗

GetUserEmail returns the email address that the user has used to configure git.

()

Source from the content-addressed store, hash-verified

152
153// GetUserEmail returns the email address that the user has used to configure git.
154func (repo *GitRepo) GetUserEmail() (string, error) {
155 return repo.runGitCommand("config", "user.email")
156}
157
158// GetUserSigningKey returns the key id the user has configured for
159// sigining git artifacts.

Callers

nothing calls this directly

Calls 1

runGitCommandMethod · 0.95

Tested by

no test coverage detected