Fast implementation of Git in pure Go
1// Package object parses and serializes objects such as blob, tree, commit, and
2// tag.
3package object
4
5import "codeberg.org/lindenii/furgit/objecttype"
6
7// Object is a Git object that can serialize itself.
8type Object interface {
9 ObjectType() objecttype.Type
10 SerializeWithoutHeader() ([]byte, error)
11 SerializeWithHeader() ([]byte, error)
12}