aboutsummaryrefslogtreecommitdiff
path: root/commitquery/node.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-28 17:40:02 +0000
committerGravatar Runxi Yu2026-03-28 17:40:02 +0000
commit06583274fa64ad6677773bf4ca54f69226388203 (patch)
tree66354bf972d267bf7ee5135eb7e5b90c31f9fe4d /commitquery/node.go
parentformat/commitgraph/read: Lifetime (diff)
signatureNo signature
commitquery: Make a reusable engine thingy
Diffstat (limited to 'commitquery/node.go')
-rw-r--r--commitquery/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/node.go b/commitquery/node.go
index c0f25c55..d5f1d3cd 100644
--- a/commitquery/node.go
+++ b/commitquery/node.go
@@ -28,7 +28,7 @@ type node struct {
}
// newNode allocates one empty internal node.
-func (query *Query) newNode(id objectid.ObjectID) nodeIndex {
+func (query *query) newNode(id objectid.ObjectID) nodeIndex {
count := len(query.nodes)
idx := nodeIndex(count)