MCPcopy Create free account
hub / github.com/go-git/go-git / IsFirstURLLocal

Method IsFirstURLLocal

config/config.go:677–679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

675}
676
677func (c *RemoteConfig) IsFirstURLLocal() bool {
678 return url.IsLocalEndpoint(c.URLs[0])
679}
680
681func (c *RemoteConfig) applyURLRules(urlRules map[string]*URL) {
682 // save original urls

Callers

nothing calls this directly

Calls 1

IsLocalEndpointFunction · 0.92

Tested by

no test coverage detected