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

Function NewSetStatusOp

entities/bug/op_set_status.go:53–58  ·  view source on GitHub ↗
(author identity.Interface, unixTime int64, status common.Status)

Source from the content-addressed store, hash-verified

51}
52
53func NewSetStatusOp(author identity.Interface, unixTime int64, status common.Status) *SetStatusOperation {
54 return &SetStatusOperation{
55 OpBase: dag.NewOpBase(SetStatusOp, author, unixTime),
56 Status: status,
57 }
58}
59
60type SetStatusTimelineItem struct {
61 combinedId entity.CombinedId

Callers 6

TestGithubImporterFunction · 0.92
TestGitlabImportFunction · 0.92
TestSetStatusSerializeFunction · 0.85
OpenFunction · 0.85
CloseFunction · 0.85
TestValidateFunction · 0.85

Calls 1

NewOpBaseFunction · 0.92

Tested by 4

TestGithubImporterFunction · 0.74
TestGitlabImportFunction · 0.74
TestSetStatusSerializeFunction · 0.68
TestValidateFunction · 0.68