diff options
| author | 2026-05-16 08:29:46 +0000 | |
|---|---|---|
| committer | 2026-05-16 08:30:11 +0000 | |
| commit | 62d363f044dbcd5dbdf447a0f3ce4c12b8ab30e4 (patch) | |
| tree | 17bd09f235f9c95a9690e8ed7af405121347fd61 /object/header/encode.go | |
| parent | object/typ: Simplify (diff) | |
| signature | No signature | |
object/header: Refactor
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 4cd8599c..00000000 --- a/object/header/encode.go +++ /dev/null @@ -1,8 +0,0 @@ -package header - -import "codeberg.org/lindenii/furgit/object/typ" - -// Encode returns a canonical loose-object header ("type size\x00"). -func Encode(ty typ.Type, size int64) ([]byte, bool) { - return Append(nil, ty, size) -} |
