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

Method LastOp

entities/bug/bug.go:152–157  ·  view source on GitHub ↗

LastOp lookup for the very last operation of the bug. For a valid Bug, should never be nil

()

Source from the content-addressed store, hash-verified

150// LastOp lookup for the very last operation of the bug.
151// For a valid Bug, should never be nil
152func (bug *Bug) LastOp() Operation {
153 if lo := bug.Entity.LastOp(); lo != nil {
154 return lo.(Operation)
155 }
156 return nil
157}

Callers

nothing calls this directly

Calls 1

LastOpMethod · 0.65

Tested by

no test coverage detected