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

Method Reset

pkg/iostreams/color.go:228–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228func (c *ColorScheme) Reset() string {
229 if !c.Enabled {
230 return ""
231 }
232
233 return ansi.Reset
234}
235
236func (c *ColorScheme) ColorFromString(s string) func(string) string {
237 s = strings.ToLower(s)

Callers 5

TestCmdSetAndResetFunction · 0.45
formatMatchFunction · 0.45
printContentFunction · 0.45
watchRunFunction · 0.45
ReadMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestCmdSetAndResetFunction · 0.36