aboutsummaryrefslogtreecommitdiff
path: root/commitquery/load.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/load.go
parentformat/commitgraph/read: Lifetime (diff)
signatureNo signature
commitquery: Make a reusable engine thingy
Diffstat (limited to 'commitquery/load.go')
-rw-r--r--commitquery/load.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/load.go b/commitquery/load.go
index 58ed7bf3..be39c7d9 100644
--- a/commitquery/load.go
+++ b/commitquery/load.go
@@ -1,7 +1,7 @@
package commitquery
// ensureLoaded completes one node's metadata load if it has not been loaded yet.
-func (query *Query) ensureLoaded(idx nodeIndex) error {
+func (query *query) ensureLoaded(idx nodeIndex) error {
if query.nodes[idx].loaded {
return nil
}