aboutsummaryrefslogtreecommitdiff
path: root/reachability/connected.go
diff options
context:
space:
mode:
Diffstat (limited to 'reachability/connected.go')
-rw-r--r--reachability/connected.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/reachability/connected.go b/reachability/connected.go
deleted file mode 100644
index 96211079..00000000
--- a/reachability/connected.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package reachability
-
-import objectid "codeberg.org/lindenii/furgit/object/id"
-
-// CheckConnected verifies that all objects reachable from wants (under the
-// selected domain) can be fully traversed without missing-object/type/parse
-// errors, excluding subgraphs rooted at haves.
-//
-// Even with commit-graph acceleration available, each visited commit is
-// still validated against the object store.
-func (r *Reachability) CheckConnected(domain Domain, haves, wants map[objectid.ObjectID]struct{}) error {
- walk := r.Walk(domain, haves, wants)
-
- walk.strict = true
- for range walk.Seq() {
- }
-
- return walk.Err()
-}