diff options
author | Michael Muré <batolettre@gmail.com> | 2019-06-07 02:53:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 02:53:21 +0200 |
commit | d69dcce806d280ddbd6a4fb17700153bc03da90b (patch) | |
tree | da07a7beadc77b3fe5e99f09bd38d919566a0191 /cache/repo_cache.go | |
parent | a9629dbad15f0e80ea244eb81abda4ddc08f7a0e (diff) | |
parent | 1c2ad95960c09d029e6306ac5a5ea76c58e8b5c9 (diff) | |
download | git-bug-d69dcce806d280ddbd6a4fb17700153bc03da90b.tar.gz |
Merge pull request #153 from A-Hilaly/bridge-configuration
[Breaking] Bridge configuration enhancements
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r-- | cache/repo_cache.go | 7 |
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() |