onVisitFile

abstract fun onVisitFile(function: (file: Path, attributes: BasicFileAttributes) -> FileVisitResult)(source)

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

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

Since Kotlin

1.7