diff options
| author | 2026-03-28 17:40:02 +0000 | |
|---|---|---|
| committer | 2026-03-28 17:40:02 +0000 | |
| commit | 06583274fa64ad6677773bf4ca54f69226388203 (patch) | |
| tree | 66354bf972d267bf7ee5135eb7e5b90c31f9fe4d /commitquery/node.go | |
| parent | format/commitgraph/read: Lifetime (diff) | |
| signature | No signature | |
commitquery: Make a reusable engine thingy
Diffstat (limited to 'commitquery/node.go')
| -rw-r--r-- | commitquery/node.go | 2 |
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) |
