FirstOp lookup for the very first operation of the bug. For a valid Bug, this operation should be a CreateOp
()
| 141 | // FirstOp lookup for the very first operation of the bug. |
| 142 | // For a valid Bug, this operation should be a CreateOp |
| 143 | func (bug *Bug) FirstOp() Operation { |
| 144 | if fo := bug.Entity.FirstOp(); fo != nil { |
| 145 | return fo.(Operation) |
| 146 | } |
| 147 | return nil |
| 148 | } |
| 149 | |
| 150 | // LastOp lookup for the very last operation of the bug. |
| 151 | // For a valid Bug, should never be nil |