(author identity.Interface, unixTime int64, metadata map[string]string)
| 123 | } |
| 124 | |
| 125 | func (c *BugCache) CloseRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) { |
| 126 | c.mu.Lock() |
| 127 | op, err := bug.Close(c.entity, author, unixTime, metadata) |
| 128 | c.mu.Unlock() |
| 129 | if err != nil { |
| 130 | return nil, err |
| 131 | } |
| 132 | return op, c.notifyUpdated() |
| 133 | } |
| 134 | |
| 135 | func (c *BugCache) SetTitle(title string) (*bug.SetTitleOperation, error) { |
| 136 | author, err := c.getUserIdentity() |
no test coverage detected