aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index dc1889b2..b3b2ea1e 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -104,11 +104,16 @@ func (c *RepoCache) GetPath() string {
return c.repo.GetPath()
}
-// GetPath returns the path to the repo.
+// GetCoreEditor returns the name of the editor that the user has used to configure git.
func (c *RepoCache) GetCoreEditor() (string, error) {
return c.repo.GetCoreEditor()
}
+// GetRemotes returns the configured remotes repositories.
+func (c *RepoCache) GetRemotes() (map[string]string, error) {
+ return c.repo.GetRemotes()
+}
+
// GetUserName returns the name the the user has used to configure git
func (c *RepoCache) GetUserName() (string, error) {
return c.repo.GetUserName()