aboutsummaryrefslogtreecommitdiff
path: root/object/commit/commit.go
blob: f41366b75067d97e81523a66ce54ba1c96d3ef06 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package commit

import (
	"lindenii.org/go/furgit/object/id"
	"lindenii.org/go/furgit/object/signature"
)

// Commit represents a fully materialized Git commit object.
//
// Labels: MT-Unsafe.
type Commit struct {
	Tree         id.ObjectID
	Parents      []id.ObjectID
	Author       signature.Signature
	Committer    signature.Signature
	Message      []byte
	ChangeID     string
	ExtraHeaders []ExtraHeader
}