aboutsummaryrefslogtreecommitdiff
path: root/commitquery/parent_ref.go
blob: 08d224df5a4027b1eaf2346176bee67634302157 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package commitquery

import (
	commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read"
	objectid "codeberg.org/lindenii/furgit/object/id"
)

// parentRef references one commit parent.
type parentRef struct {
	ID          objectid.ObjectID
	GraphPos    commitgraphread.Position
	HasGraphPos bool
}