GetUserEmail returns the email address that the user has used to configure git.
()
| 284 | |
| 285 | // GetUserEmail returns the email address that the user has used to configure git. |
| 286 | func (repo *GoGitRepo) GetUserEmail() (string, error) { |
| 287 | return repo.AnyConfig().ReadString("user.email") |
| 288 | } |
| 289 | |
| 290 | // GetCoreEditor returns the name of the editor that the user has used to configure git. |
| 291 | func (repo *GoGitRepo) GetCoreEditor() (string, error) { |
nothing calls this directly
no test coverage detected