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

Method Close

cache/bug_cache.go:116–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116func (c *BugCache) Close() (*bug.SetStatusOperation, error) {
117 author, err := c.getUserIdentity()
118 if err != nil {
119 return nil, err
120 }
121
122 return c.CloseRaw(author, time.Now().Unix(), nil)
123}
124
125func (c *BugCache) CloseRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) {
126 c.mu.Lock()

Callers

nothing calls this directly

Calls 1

CloseRawMethod · 0.95

Tested by

no test coverage detected