onPreVisitDirectory

abstract fun onPreVisitDirectory(function: (directory: Path, attributes: BasicFileAttributes) -> FileVisitResult)(source)

Overrides the corresponding function of the built file visitor with the provided function.

By default, FileVisitor.preVisitDirectory of the built file visitor returns FileVisitResult.CONTINUE.

Since Kotlin

1.7