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

Method Open

cache/bug_cache.go:97–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func (c *BugCache) Open() (*bug.SetStatusOperation, error) {
98 author, err := c.getUserIdentity()
99 if err != nil {
100 return nil, err
101 }
102
103 return c.OpenRaw(author, time.Now().Unix(), nil)
104}
105
106func (c *BugCache) OpenRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) {
107 c.mu.Lock()

Callers 11

LoadMethod · 0.45
repoIsAvailableFunction · 0.45
testCasesFunction · 0.45
testCasesFunction · 0.45
runBugStatusOpenFunction · 0.45
selectedFunction · 0.45
openBleveIndexFunction · 0.45
defaultKeyringFunction · 0.45
detectGitPathFunction · 0.45
toggleOpenCloseMethod · 0.45
readMethod · 0.45

Calls 1

OpenRawMethod · 0.95

Tested by 2

testCasesFunction · 0.36
testCasesFunction · 0.36