MCPcopy Create free account
hub / github.com/git-bug/git-bug / NewBridge

Function NewBridge

bridge/bridges.go:34–36  ·  view source on GitHub ↗

Instantiate a new Bridge for a repo, from the given target and name

(repo *cache.RepoCache, target string, name string)

Source from the content-addressed store, hash-verified

32
33// Instantiate a new Bridge for a repo, from the given target and name
34func NewBridge(repo *cache.RepoCache, target string, name string) (*core.Bridge, error) {
35 return core.NewBridge(repo, target, name)
36}
37
38// LoadBridge instantiate a new bridge from a repo configuration
39func LoadBridge(repo *cache.RepoCache, name string) (*core.Bridge, error) {

Callers 1

runBridgeNewFunction · 0.92

Calls 1

NewBridgeFunction · 0.92

Tested by

no test coverage detected