(author identity.Interface, unixTime int64, added []string, removed []string, metadata map[string]string)
| 66 | } |
| 67 | |
| 68 | func (c *BugCache) ChangeLabelsRaw(author identity.Interface, unixTime int64, added []string, removed []string, metadata map[string]string) ([]bug.LabelChangeResult, *bug.LabelChangeOperation, error) { |
| 69 | c.mu.Lock() |
| 70 | changes, op, err := bug.ChangeLabels(c.entity, author, unixTime, added, removed, metadata) |
| 71 | c.mu.Unlock() |
| 72 | if err != nil { |
| 73 | return changes, nil, err |
| 74 | } |
| 75 | return changes, op, c.notifyUpdated() |
| 76 | } |
| 77 | |
| 78 | func (c *BugCache) ForceChangeLabels(added []string, removed []string) (*bug.LabelChangeOperation, error) { |
| 79 | author, err := c.getUserIdentity() |
no test coverage detected