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

Function NewErrUnknownFormat

entity/err.go:69–74  ·  view source on GitHub ↗
(expected uint)

Source from the content-addressed store, hash-verified

67}
68
69func NewErrUnknownFormat(expected uint) *ErrInvalidFormat {
70 return &ErrInvalidFormat{
71 version: 0,
72 expected: expected,
73 }
74}
75
76func (e ErrInvalidFormat) Error() string {
77 if e.version == 0 {

Callers 1

readOperationPackFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected