public class BitmappedObjectReachabilityChecker extends Object implements ObjectReachabilityChecker
| Constructor and Description |
|---|
BitmappedObjectReachabilityChecker(ObjectWalk walk)
New instance of the reachability checker using a existing walk.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<RevObject> |
areAllReachable(Collection<RevObject> targets,
Stream<RevObject> starters)
Checks that all targets are reachable from the starters.
|
public BitmappedObjectReachabilityChecker(ObjectWalk walk)
walk - ObjectWalk instance to reuse. Caller retains ownership.public Optional<RevObject> areAllReachable(Collection<RevObject> targets, Stream<RevObject> starters) throws IOException
areAllReachable in interface ObjectReachabilityCheckertargets - objects to check for reachability from the startersstarters - objects known to be reachable to the callerIOException - Cannot access underlying storageCopyright © 2021 Eclipse JGit Project. All rights reserved.