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

Struct Annotation

pkg/cmd/run/shared/shared.go:251–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249func (s Steps) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
250
251type Annotation struct {
252 JobName string
253 Message string
254 Path string
255 Level Level `json:"annotation_level"`
256 StartLine int `json:"start_line"`
257}
258
259func AnnotationSymbol(cs *iostreams.ColorScheme, a Annotation) string {
260 switch a.Level {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected