(added []string, removed []string)
| 76 | } |
| 77 | |
| 78 | func (c *BugCache) ForceChangeLabels(added []string, removed []string) (*bug.LabelChangeOperation, error) { |
| 79 | author, err := c.getUserIdentity() |
| 80 | if err != nil { |
| 81 | return nil, err |
| 82 | } |
| 83 | |
| 84 | return c.ForceChangeLabelsRaw(author, time.Now().Unix(), added, removed, nil) |
| 85 | } |
| 86 | |
| 87 | func (c *BugCache) ForceChangeLabelsRaw(author identity.Interface, unixTime int64, added []string, removed []string, metadata map[string]string) (*bug.LabelChangeOperation, error) { |
| 88 | c.mu.Lock() |
nothing calls this directly
no test coverage detected