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

Method New

cache/bug_subcache.go:221–223  ·  view source on GitHub ↗

New create a new bug The new bug is written in the repository (commit)

(title string, message string)

Source from the content-addressed store, hash-verified

219// New create a new bug
220// The new bug is written in the repository (commit)
221func (c *RepoCacheBug) New(title string, message string) (*BugCache, *bug.CreateOperation, error) {
222 return c.NewWithFiles(title, message, nil)
223}
224
225// NewWithFiles create a new bug with attached files for the message
226// The new bug is written in the repository (commit)

Callers 15

entityUpdatedMethod · 0.45
ResolveCommentMethod · 0.45
QueryMethod · 0.45
TestCacheFunction · 0.45
TestCachePushPullFunction · 0.45
TestRemoveFunction · 0.45
TestCacheEvictionFunction · 0.45
TestLongDescriptionFunction · 0.45
bridge.goFile · 0.45
NewBridgeFunction · 0.45
credential.goFile · 0.45
IDMethod · 0.45

Calls 1

NewWithFilesMethod · 0.95

Tested by 15

TestCacheFunction · 0.36
TestCachePushPullFunction · 0.36
TestRemoveFunction · 0.36
TestCacheEvictionFunction · 0.36
TestLongDescriptionFunction · 0.36
testCasesFunction · 0.36
TestGithubPushPullFunction · 0.36
rateLimitingErrorFunction · 0.36
testCasesFunction · 0.36
TestGitlabPushPullFunction · 0.36
TestSelectFunction · 0.36
TestGitFileHandlersFunction · 0.36