diff options
Diffstat (limited to 'commitquery/parent_ref.go')
| -rw-r--r-- | commitquery/parent_ref.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/commitquery/parent_ref.go b/commitquery/parent_ref.go new file mode 100644 index 00000000..08d224df --- /dev/null +++ b/commitquery/parent_ref.go @@ -0,0 +1,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 +} |
