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

Method AddComment

cache/bug_cache.go:36–38  ·  view source on GitHub ↗
(message string)

Source from the content-addressed store, hash-verified

34}
35
36func (c *BugCache) AddComment(message string) (entity.CombinedId, *bug.AddCommentOperation, error) {
37 return c.AddCommentWithFiles(message, nil)
38}
39
40func (c *BugCache) AddCommentWithFiles(message string, files []repository.Hash) (entity.CombinedId, *bug.AddCommentOperation, error) {
41 author, err := c.getUserIdentity()

Callers 3

runBugCommentNewFunction · 0.45
addCommentWithEditorFunction · 0.45

Calls 1

AddCommentWithFilesMethod · 0.95

Tested by

no test coverage detected