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

Method CloseRaw

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

Source from the content-addressed store, hash-verified

123}
124
125func (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
135func (c *BugCache) SetTitle(title string) (*bug.SetTitleOperation, error) {
136 author, err := c.getUserIdentity()

Callers 6

CloseMethod · 0.95
ensureTimelineItemMethod · 0.80
ensureIssueEventMethod · 0.80
ensureChangeMethod · 0.80
BugAddCommentAndCloseMethod · 0.80
BugStatusCloseMethod · 0.80

Calls 3

CloseFunction · 0.92
LockMethod · 0.65
notifyUpdatedMethod · 0.45

Tested by

no test coverage detected