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

Method ForceChangeLabelsRaw

cache/bug_cache.go:87–95  ·  view source on GitHub ↗
(author identity.Interface, unixTime int64, added []string, removed []string, metadata map[string]string)

Source from the content-addressed store, hash-verified

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()
89 op, err := bug.ForceChangeLabels(c.entity, author, unixTime, added, removed, metadata)
90 c.mu.Unlock()
91 if err != nil {
92 return nil, err
93 }
94 return op, c.notifyUpdated()
95}
96
97func (c *BugCache) Open() (*bug.SetStatusOperation, error) {
98 author, err := c.getUserIdentity()

Callers 4

ForceChangeLabelsMethod · 0.95
ensureTimelineItemMethod · 0.80
ensureIssueEventMethod · 0.80
ensureChangeMethod · 0.80

Calls 3

ForceChangeLabelsFunction · 0.92
LockMethod · 0.65
notifyUpdatedMethod · 0.45

Tested by

no test coverage detected