MCPcopy
hub / github.com/go-git/go-git / IsFirstURLLocal

Method IsFirstURLLocal

config/config.go:708–710  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

706}
707
708func (c *RemoteConfig) IsFirstURLLocal() bool {
709 return url.IsLocalEndpoint(c.URLs[0])
710}
711
712func (c *RemoteConfig) applyURLRules(urlRules map[string]*URL) {
713 // save original urls

Callers

nothing calls this directly

Calls 1

IsLocalEndpointFunction · 0.92

Tested by

no test coverage detected