Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
69
func
NewErrUnknownFormat(expected uint) *ErrInvalidFormat {
70
return
&ErrInvalidFormat{
71
version: 0,
72
expected: expected,
73
}
74
}
75
76
func
(e ErrInvalidFormat) Error() string {
77
if
e.version == 0 {
Callers
1
readOperationPack
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected