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

Method SetTitle

cache/bug_cache.go:135–142  ·  view source on GitHub ↗
(title string)

Source from the content-addressed store, hash-verified

133}
134
135func (c *BugCache) SetTitle(title string) (*bug.SetTitleOperation, error) {
136 author, err := c.getUserIdentity()
137 if err != nil {
138 return nil, err
139 }
140
141 return c.SetTitleRaw(author, time.Now().Unix(), title, nil)
142}
143
144func (c *BugCache) SetTitleRaw(author identity.Interface, unixTime int64, title string, metadata map[string]string) (*bug.SetTitleOperation, error) {
145 c.mu.Lock()

Callers 4

testCasesFunction · 0.80
testCasesFunction · 0.80
runBugTitleEditFunction · 0.80
setTitleWithEditorFunction · 0.80

Calls 1

SetTitleRawMethod · 0.95

Tested by 2

testCasesFunction · 0.64
testCasesFunction · 0.64