diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-24 17:11:50 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-24 17:11:50 +0200 |
commit | 2282cbb595ff5cc603d11645ddc833d70de9ad9d (patch) | |
tree | 635bfafb7c907d3f510b516773e32ddb44d85287 /bridge/bridges.go | |
parent | 061e83d4b4aa66c2691b3699a3e770b2a58d26df (diff) | |
download | git-bug-2282cbb595ff5cc603d11645ddc833d70de9ad9d.tar.gz |
commands: add "bridge pull"
Diffstat (limited to 'bridge/bridges.go')
-rw-r--r-- | bridge/bridges.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bridge/bridges.go b/bridge/bridges.go index 2fcb13d3..bfd851aa 100644 --- a/bridge/bridges.go +++ b/bridge/bridges.go @@ -16,6 +16,14 @@ func NewBridge(repo *cache.RepoCache, target string, name string) (*core.Bridge, return core.NewBridge(repo, target, name) } +func NewBridgeFullName(repo *cache.RepoCache, fullName string) (*core.Bridge, error) { + return core.NewBridgeFullName(repo, fullName) +} + +func DefaultBridge(repo *cache.RepoCache) (*core.Bridge, error) { + return core.DefaultBridge(repo) +} + func ConfiguredBridges(repo repository.RepoCommon) ([]string, error) { return core.ConfiguredBridges(repo) } |