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

Function DefaultBridge

bridge/bridges.go:45–47  ·  view source on GitHub ↗

Attempt to retrieve a default bridge for the given repo. If zero or multiple bridge exist, it fails.

(repo *cache.RepoCache)

Source from the content-addressed store, hash-verified

43// Attempt to retrieve a default bridge for the given repo. If zero or multiple
44// bridge exist, it fails.
45func DefaultBridge(repo *cache.RepoCache) (*core.Bridge, error) {
46 return core.DefaultBridge(repo)
47}
48
49// ConfiguredBridges return the list of bridge that are configured for the given
50// repo

Callers 2

runBridgePullFunction · 0.92
runBridgePushFunction · 0.92

Calls 1

DefaultBridgeFunction · 0.92

Tested by

no test coverage detected