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