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

Struct LabelChangeOperation

entities/bug/op_label_change.go:21–25  ·  view source on GitHub ↗

LabelChangeOperation define a Bug operation to add or remove labels

Source from the content-addressed store, hash-verified

19
20// LabelChangeOperation define a Bug operation to add or remove labels
21type LabelChangeOperation struct {
22 dag.OpBase
23 Added []common.Label `json:"added"`
24 Removed []common.Label `json:"removed"`
25}
26
27func (op *LabelChangeOperation) Id() entity.Id {
28 return dag.IdOperation(op, &op.OpBase)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected