aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-12 12:44:46 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-12 12:44:46 +0200
commitc498674718608a1171a4fcef6f26184df7d5fa7b (patch)
tree9cc53ea07b61d52b12cd5fa3367b25d04bebc150 /repository/repo.go
parentd0443659123f912e9385e27efebe4b7da65aa2f6 (diff)
downloadgit-bug-c498674718608a1171a4fcef6f26184df7d5fa7b.tar.gz
add the new bug command with a very primitive bug datastructure
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go
index 7329f183..11bb132e 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -6,6 +6,9 @@ type Repo interface {
// GetPath returns the path to the repo.
GetPath() string
+ // GetUserName returns the name the the user has used to configure git
+ GetUserName() (string, error)
+
// GetUserEmail returns the email address that the user has used to configure git.
GetUserEmail() (string, error)