MCPcopy Create free account
hub / github.com/celer-pkg/celer / String

Method String

pkgs/color/style.go:77–82  ·  view source on GitHub ↗

String returns the ANSI escape sequence.

()

Source from the content-addressed store, hash-verified

75
76// String returns the ANSI escape sequence.
77func (s *Style) String() string {
78 if len(s.codes) == 0 {
79 return ""
80 }
81 return esc + strings.Join(s.codes, ";") + "m"
82}
83
84// Format returns a format string for use with fmt.Printf.
85func (s *Style) Format() string {

Callers 15

FormatMethod · 0.95
ApplyMethod · 0.95
TestCCache_GenerateFunction · 0.45
GenerateToolchainFileMethod · 0.45
GenerateMethod · 0.45
GenBuildToolsVersionsMethod · 0.45
isZeroValueFunction · 0.45
generateComponentsMethod · 0.45
pip3InstallFunction · 0.45
setupPythonFunction · 0.45
runCommandFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestCCache_GenerateFunction · 0.36
runCommandFunction · 0.36