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

Method OpenRaw

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

Source from the content-addressed store, hash-verified

104}
105
106func (c *BugCache) OpenRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) {
107 c.mu.Lock()
108 op, err := bug.Open(c.entity, author, unixTime, metadata)
109 c.mu.Unlock()
110 if err != nil {
111 return nil, err
112 }
113 return op, c.notifyUpdated()
114}
115
116func (c *BugCache) Close() (*bug.SetStatusOperation, error) {
117 author, err := c.getUserIdentity()

Callers 6

OpenMethod · 0.95
ensureTimelineItemMethod · 0.80
ensureIssueEventMethod · 0.80
ensureChangeMethod · 0.80
BugStatusOpenMethod · 0.80

Calls 3

OpenFunction · 0.92
LockMethod · 0.65
notifyUpdatedMethod · 0.45

Tested by

no test coverage detected