walkChildrenThen

fun walkChildrenThen(    visitResources: Boolean,     withReference: (ResolverReference) -> Unit,     afterAllVisited: (Int) -> Unit = {})

Walk the children of this ResolverReference. This reference must be either a root, package, or directory.

NOTE Graph uses depth-first traversal to visit each reference.

Parameters

visitResources

true indicates resources should be included in the walk; false indicates walk should be restricted to packages and modules.

withReference

The lambda that accepts the visited ResolverReference. This ResolverReference will not be provided to the lambda.

afterAllVisited

The lambda that accepts the total number of modules visited to be called after all ResolverReferences have been visited.