aboutsummaryrefslogtreecommitdiff
path: root/object/header/parse.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-07 06:14:54 +0000
committerGravatar Runxi Yu2026-06-07 06:14:54 +0000
commitffb98db8fbcdae9332392aabb2bdd217795c0432 (patch)
tree98592d6cd8c48229bd8f5745976f24a2210baa4b /object/header/parse.go
parent*: Refactor file granularity (diff)
signatureNo signature
More cleanups
Diffstat (limited to 'object/header/parse.go')
-rw-r--r--object/header/parse.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/object/header/parse.go b/object/header/parse.go
index 0958c0dd..5829a755 100644
--- a/object/header/parse.go
+++ b/object/header/parse.go
@@ -9,6 +9,7 @@ import (
"lindenii.org/go/furgit/object/typ"
)
+// ErrInvalidHeader indicates a malformed loose-object header.
var ErrInvalidHeader = errors.New("object/header: invalid header")
// Parse parses a canonical loose-object header ("type size\x00").