From b82af688be4d94245c4a7eb730b12348b08b414b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 31 Mar 2026 03:19:39 +0000 Subject: reachability: Use fetcher and clean up some legacy helper stuff --- reachability/walk_seq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reachability/walk_seq.go') 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 } -- cgit v1.3.1-10-gc9f91