MCPcopy
hub / github.com/cli/cli / Editor

Method Editor

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

Editor returns the configured editor, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

45 ColorLabels(hostname string) ConfigEntry
46 // Editor returns the configured editor, optionally scoped by host.
47 Editor(hostname string) ConfigEntry
48 // GitProtocol returns the configured git protocol, optionally scoped by host.
49 GitProtocol(hostname string) ConfigEntry
50 // HTTPUnixSocket returns the configured HTTP unix socket, optionally scoped by host.

Callers 2

DetermineEditorFunction · 0.65
config.goFile · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected