MCPcopy
hub / github.com/jesseduffield/lazygit / String

Method String

pkg/config/keybinding.go:73–75  ·  view source on GitHub ↗

String renders the keybinding as a human-readable label, joining alternates with " or " for use in help text.

()

Source from the content-addressed store, hash-verified

71// String renders the keybinding as a human-readable label, joining
72// alternates with " or " for use in help text.
73func (k Keybinding) String() string {
74 return strings.Join(k, " or ")
75}
76
77// JSONSchema lets the schema generator describe this type as a union of a
78// string and an array of strings instead of just an array.

Callers 10

fetchRecentPRsAuxMethod · 0.45
RunWithOutputsAuxMethod · 0.45
runAndStreamAuxMethod · 0.45
TestProcessOutputFunction · 0.45
runGitConfigCmdFunction · 0.45
PatchToApplyMethod · 0.45
formatMethod · 0.45
formatSectionsFunction · 0.45
validateCustomCommandsFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestProcessOutputFunction · 0.36