MCPcopy Create free account
hub / github.com/VirusTotal/vt-cli / EncoderColors

Function EncoderColors

yaml/yaml.go:58–60  ·  view source on GitHub ↗

EncoderColors sets the colors for highlighting keys, values and comments.

(c *Colors)

Source from the content-addressed store, hash-verified

56
57// EncoderColors sets the colors for highlighting keys, values and comments.
58func EncoderColors(c *Colors) EncoderOption {
59 return func(e *Encoder) { e.Colors = c }
60}
61
62// EncoderDateKeys sets a list of globs that define the keys whose values
63// should be encoded as a date. Every key that matches any of the globs and

Callers 2

PrintMethod · 0.92
NewMetaCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected