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

Struct AddCommentOperation

entities/bug/op_add_comment.go:18–23  ·  view source on GitHub ↗

AddCommentOperation will add a new comment in the bug

Source from the content-addressed store, hash-verified

16
17// AddCommentOperation will add a new comment in the bug
18type AddCommentOperation struct {
19 dag.OpBase
20 Message string `json:"message"`
21 // TODO: change for a map[string]util.hash to store the filename ?
22 Files []repository.Hash `json:"files"`
23}
24
25func (op *AddCommentOperation) Id() entity.Id {
26 return dag.IdOperation(op, &op.OpBase)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected