diff options
Diffstat (limited to 'reachability/walk_stack.go')
| -rw-r--r-- | reachability/walk_stack.go | 16 |
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 -} |
