From 2282cbb595ff5cc603d11645ddc833d70de9ad9d Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 24 Sep 2018 17:11:50 +0200 Subject: commands: add "bridge pull" --- bridge/bridges.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bridge/bridges.go') 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) } -- cgit