aboutsummaryrefslogtreecommitdiff
path: root/objectheader/encode.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-25 14:21:09 +0000
committerGravatar Runxi Yu2026-03-25 14:21:09 +0000
commit7d9c128ce04875f970c78673500c0a492000398f (patch)
tree4e65166a451f9970c5264fad72e9a8f9634eefb5 /objectheader/encode.go
parentresearch: Dynamic packfile log (diff)
signatureNo signature
*: objecttype, objectheader -> object/type, object/header
Diffstat (limited to 'objectheader/encode.go')
-rw-r--r--objectheader/encode.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/objectheader/encode.go b/objectheader/encode.go
deleted file mode 100644
index 1cca968b..00000000
--- a/objectheader/encode.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package objectheader
-
-import "codeberg.org/lindenii/furgit/objecttype"
-
-// Encode returns a canonical loose-object header ("type size\\x00").
-func Encode(ty objecttype.Type, size int64) ([]byte, bool) {
- return Append(nil, ty, size)
-}