aboutsummaryrefslogtreecommitdiff
path: root/objectheader/encode.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-10 14:19:53 +0800
committerGravatar Runxi Yu2026-03-10 14:19:53 +0800
commit85f1212724e037e6934203f04a3f6231ac609503 (patch)
tree8d75a79541422eec0019125b3e9d281aa1613f1f /objectheader/encode.go
parentpackfile: Rename package to packfile (diff)
signatureNo signature
object/header: Rename from objectheader
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)
-}