MCPcopy Create free account
hub / github.com/git-bug/git-bug / NewImportError

Function NewImportError

bridge/core/import.go:103–109  ·  view source on GitHub ↗
(err error, entityId entity.Id)

Source from the content-addressed store, hash-verified

101}
102
103func NewImportError(err error, entityId entity.Id) ImportResult {
104 return ImportResult{
105 Err: err,
106 EntityId: entityId,
107 Event: ImportEventError,
108 }
109}
110
111func NewImportWarning(err error, entityId entity.Id) ImportResult {
112 return ImportResult{

Callers 5

ImportAllMethod · 0.92
ImportAllMethod · 0.92
ImportAllMethod · 0.92
ImportAllMethod · 0.92
ensureChangeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected