walk

fun File.walk(direction: FileWalkDirection = FileWalkDirection.TOP_DOWN): FileTreeWalk(source)

Gets a sequence for visiting this directory and all its content.

Since Kotlin

1.0

Parameters

direction

walk direction, top-down (by default) or bottom-up.