MCPcopy Index your code
hub / github.com/git-bug/git-bug / LoadBridge

Function LoadBridge

bridge/bridges.go:39–41  ·  view source on GitHub ↗

LoadBridge instantiate a new bridge from a repo configuration

(repo *cache.RepoCache, name string)

Source from the content-addressed store, hash-verified

37
38// LoadBridge instantiate a new bridge from a repo configuration
39func LoadBridge(repo *cache.RepoCache, name string) (*core.Bridge, error) {
40 return core.LoadBridge(repo, name)
41}
42
43// Attempt to retrieve a default bridge for the given repo. If zero or multiple
44// bridge exist, it fails.

Callers 2

runBridgePullFunction · 0.92
runBridgePushFunction · 0.92

Calls 1

LoadBridgeFunction · 0.92

Tested by

no test coverage detected