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

Method Clipboard

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

Clipboard returns the configured clipboard setting, ignoring host scoping since clipboard is a global setting.

()

Source from the content-addressed store, hash-verified

43 Browser(hostname string) ConfigEntry
44 // Clipboard returns the configured clipboard setting, ignoring host scoping since clipboard is a global setting.
45 Clipboard() ConfigEntry
46 // ColorLabels returns the configured color_label setting, optionally scoped by host.
47 ColorLabels(hostname string) ConfigEntry
48 // Editor returns the configured editor, optionally scoped by host.

Callers 3

ShouldCopyToClipboardFunction · 0.65
TestClipboardFunction · 0.65
config.goFile · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestClipboardFunction · 0.52