PathWalkOption

Platform and version requirements: JVM (1.0), JRE7 (1.0)
@ExperimentalPathApi enum class PathWalkOption

An enumeration to provide walk options for Path.walk function. The options can be combined to form the walk order and behavior needed.

Note that this enumeration is not exhaustive and new cases might be added in the future.

Enum Values

Platform and version requirements: JVM (1.0), JRE7 (1.0)

INCLUDE_DIRECTORIES

Visits directories as well.

Platform and version requirements: JVM (1.0), JRE7 (1.0)

BREADTH_FIRST

Walks in breadth-first order.

Platform and version requirements: JVM (1.0), JRE7 (1.0)

FOLLOW_LINKS

Follows symbolic links to the directories they point to.

© 2010–2023 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.path/-path-walk-option/index.html