aboutsummaryrefslogtreecommitdiff
path: root/commitquery/node_new.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-04-02 06:23:30 +0000
committerGravatar Runxi Yu2026-04-02 06:28:39 +0000
commita041d523de389b65b98a5373a8034041db2a8d83 (patch)
tree7b423dc735f463be616045f2c3c2095a7737aca7 /commitquery/node_new.go
parentresearch: Add dynamic pack resources (diff)
signatureNo signature
*: Remove
Diffstat (limited to 'commitquery/node_new.go')
-rw-r--r--commitquery/node_new.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/commitquery/node_new.go b/commitquery/node_new.go
deleted file mode 100644
index 14a35262..00000000
--- a/commitquery/node_new.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package commitquery
-
-import objectid "codeberg.org/lindenii/furgit/object/id"
-
-// newNode allocates one empty internal node.
-func (query *query) newNode(id objectid.ObjectID) nodeIndex {
- count := len(query.nodes)
-
- idx := nodeIndex(count)
-
- query.nodes = append(query.nodes, node{id: id})
-
- return idx
-}