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

Method Editor

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

Editor returns the configured editor, optionally scoped by host.

(hostname string)

Source from the content-addressed store, hash-verified

51 ColorLabels(hostname string) ConfigEntry
52 // Editor returns the configured editor, optionally scoped by host.
53 Editor(hostname string) ConfigEntry
54 // GitProtocol returns the configured git protocol, optionally scoped by host.
55 GitProtocol(hostname string) ConfigEntry
56 // 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