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

Function NewImportComment

bridge/core/import.go:134–140  ·  view source on GitHub ↗
(entityId entity.Id, commentId entity.CombinedId)

Source from the content-addressed store, hash-verified

132}
133
134func NewImportComment(entityId entity.Id, commentId entity.CombinedId) ImportResult {
135 return ImportResult{
136 EntityId: entityId,
137 ComponentId: commentId,
138 Event: ImportEventComment,
139 }
140}
141
142func NewImportCommentEdition(entityId entity.Id, commentId entity.CombinedId) ImportResult {
143 return ImportResult{

Callers 4

ensureCommentMethod · 0.92
ImportAllMethod · 0.92
ensureIssueEventMethod · 0.92
ensureCommentMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected