MCPcopy Index your code
hub / github.com/git-bug/git-bug / Color

Method Color

api/graphql/resolvers/label.go:19–22  ·  view source on GitHub ↗
(ctx context.Context, obj *common.Label)

Source from the content-addressed store, hash-verified

17}
18
19func (labelResolver) Color(ctx context.Context, obj *common.Label) (*color.RGBA, error) {
20 rgba := obj.Color().RGBA()
21 return &rgba, nil
22}

Callers

nothing calls this directly

Calls 2

RGBAMethod · 0.80
ColorMethod · 0.65

Tested by

no test coverage detected