ref: a902f6849d938a51fa34dc292f5c81d26c4b6c36
dir: /object/object.go/
// Package object provides shared object interfaces.
package object
import objecttype "codeberg.org/lindenii/furgit/object/type"
// Object is a Git object.
type Object interface {
ObjectType() objecttype.Type
SerializeWithoutHeader() ([]byte, error)
SerializeWithHeader() ([]byte, error)
}