MCPcopy Create free account
hub / github.com/git-bug/git-bug / CreateOperation

Struct CreateOperation

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

CreateOperation define the initial creation of a bug

Source from the content-addressed store, hash-verified

16
17// CreateOperation define the initial creation of a bug
18type CreateOperation struct {
19 dag.OpBase
20 Title string `json:"title"`
21 Message string `json:"message"`
22 Files []repository.Hash `json:"files"`
23}
24
25func (op *CreateOperation) 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