W3cubDocs

/Kotlin

FileWalkDirection

Platform and version requirements: JVM (1.0)
enum class FileWalkDirection

An enumeration to describe possible walk directions. There are two of them: beginning from parents, ending with children, and beginning from children, ending with parents. Both use depth-first search.

Enum Values

Platform and version requirements: JVM (1.0)

TOP_DOWN

Depth-first search, directory is visited BEFORE its files

Platform and version requirements: JVM (1.0)

BOTTOM_UP

Depth-first search, directory is visited AFTER its files

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/-file-walk-direction/index.html