(author identity.Interface, unixTime int64, metadata map[string]string)
| 104 | } |
| 105 | |
| 106 | func (c *BugCache) OpenRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) { |
| 107 | c.mu.Lock() |
| 108 | op, err := bug.Open(c.entity, author, unixTime, metadata) |
| 109 | c.mu.Unlock() |
| 110 | if err != nil { |
| 111 | return nil, err |
| 112 | } |
| 113 | return op, c.notifyUpdated() |
| 114 | } |
| 115 | |
| 116 | func (c *BugCache) Close() (*bug.SetStatusOperation, error) { |
| 117 | author, err := c.getUserIdentity() |
no test coverage detected