aboutsummaryrefslogtreecommitdiff
path: root/commitquery/node_id.go
diff options
context:
space:
mode:
Diffstat (limited to 'commitquery/node_id.go')
-rw-r--r--commitquery/node_id.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commitquery/node_id.go b/commitquery/node_id.go
index c1d82f38..8ec0b126 100644
--- a/commitquery/node_id.go
+++ b/commitquery/node_id.go
@@ -2,6 +2,7 @@ package commitquery
import objectid "codeberg.org/lindenii/furgit/object/id"
+// id returns one node's object ID.
func (query *query) id(idx nodeIndex) objectid.ObjectID {
return query.nodes[idx].id
}