MCPcopy Create free account
hub / github.com/cli/cli / GitProtocol

Method GitProtocol

internal/gh/gh.go:56–56  ·  view source on GitHub ↗

GitProtocol returns the configured git protocol, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

54 Editor(hostname string) ConfigEntry
55 // GitProtocol returns the configured git protocol, optionally scoped by host.
56 GitProtocol(hostname string) ConfigEntry
57 // HTTPUnixSocket returns the configured HTTP unix socket, optionally scoped by host.
58 HTTPUnixSocket(hostname string) ConfigEntry
59 // Pager returns the configured Pager, optionally scoped by host.

Callers 13

refreshRunFunction · 0.65
statusRunFunction · 0.65
cloneRunFunction · 0.65
cloneRunFunction · 0.65
forkRunFunction · 0.65
createFromScratchFunction · 0.65
createFromTemplateFunction · 0.65
createFromLocalFunction · 0.65
updateRemoteFunction · 0.65
checkoutRunFunction · 0.65
handlePushFunction · 0.65
installGitMethod · 0.65

Implementers 2

cfginternal/config/config.go
ConfigMockinternal/gh/mock/config.go

Calls

no outgoing calls

Tested by

no test coverage detected