aboutsummaryrefslogtreecommitdiff
path: root/commitquery/node_id.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 14:42:13 +0000
committerGravatar Runxi Yu2026-03-29 14:47:04 +0000
commitdf73a4c6f1b58075316ba7449fbfb127b9fbb79d (patch)
tree62fee259ec037410b06419ee3ac9c2c189c35ab3 /commitquery/node_id.go
parentinternal/priorityqueue: Update docs (diff)
signatureNo signature
commitquery: Reorganize
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
}