aboutsummaryrefslogtreecommitdiff
path: root/object/commit/commit.go
blob: e89b5368c0f8e74472fd1eec3802608cb236e712 (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 (
	"codeberg.org/lindenii/furgit/object/id"
	"codeberg.org/lindenii/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
}