aboutsummaryrefslogtreecommitdiff
path: root/reachability/walk_stack.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 /reachability/walk_stack.go
parentresearch: Add dynamic pack resources (diff)
signatureNo signature
*: Remove
Diffstat (limited to 'reachability/walk_stack.go')
-rw-r--r--reachability/walk_stack.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/reachability/walk_stack.go b/reachability/walk_stack.go
deleted file mode 100644
index 0a5084df..00000000
--- a/reachability/walk_stack.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package reachability
-
-import objecttype "codeberg.org/lindenii/furgit/object/type"
-
-func (walk *Walk) initialStack() []walkItem {
- if len(walk.wants) == 0 {
- return nil
- }
-
- stack := make([]walkItem, 0, len(walk.wants))
- for want := range walk.wants {
- stack = append(stack, walkItem{id: want, want: objecttype.TypeInvalid})
- }
-
- return stack
-}