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

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

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