diff options
| author | 2026-03-10 14:20:30 +0800 | |
|---|---|---|
| committer | 2026-03-10 14:20:30 +0800 | |
| commit | 8630ab3a2fb3e6a5518156bc43bd4f6a81f21198 (patch) | |
| tree | 66120ed3c90bc01fba404824ddf0095c945aa2c8 /object/header/encode.go | |
| parent | object/header: Rename from objectheader (diff) | |
| signature | No signature | |
Revert "object/header: Rename from objectheader"
This reverts commit 85f1212724e037e6934203f04a3f6231ac609503.
Diffstat (limited to 'object/header/encode.go')
| -rw-r--r-- | object/header/encode.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/object/header/encode.go b/object/header/encode.go deleted file mode 100644 index e0393af6..00000000 --- a/object/header/encode.go +++ /dev/null @@ -1,8 +0,0 @@ -package header - -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) -} |
