aboutsummaryrefslogtreecommitdiff
path: root/reachability/walk_seq.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-31 03:19:39 +0000
committerGravatar Runxi Yu2026-03-31 03:20:13 +0000
commitb82af688be4d94245c4a7eb730b12348b08b414b (patch)
treebcd7d9cdb87a5ee2644aafe64429def860f500fe /reachability/walk_seq.go
parentcommitquery: Error handling cleanup after the fetcher port (diff)
signatureNo signature
reachability: Use fetcher and clean up some legacy helper stuff
Diffstat (limited to 'reachability/walk_seq.go')
-rw-r--r--reachability/walk_seq.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reachability/walk_seq.go b/reachability/walk_seq.go
index e28427a2..669166f5 100644
--- a/reachability/walk_seq.go
+++ b/reachability/walk_seq.go
@@ -37,7 +37,7 @@ func (walk *Walk) Seq() iter.Seq[objectid.ObjectID] {
item := stack[len(stack)-1]
stack = stack[:len(stack)-1]
- if containsOID(walk.haves, item.id) {
+ if _, ok := walk.haves[item.id]; ok {
continue
}