MCPcopy Index your code
hub / github.com/git-bug/git-bug / ForceChangeLabels

Method ForceChangeLabels

cache/bug_cache.go:78–85  ·  view source on GitHub ↗
(added []string, removed []string)

Source from the content-addressed store, hash-verified

76}
77
78func (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
87func (c *BugCache) ForceChangeLabelsRaw(author identity.Interface, unixTime int64, added []string, removed []string, metadata map[string]string) (*bug.LabelChangeOperation, error) {
88 c.mu.Lock()

Callers

nothing calls this directly

Calls 1

ForceChangeLabelsRawMethod · 0.95

Tested by

no test coverage detected