BREADTH_FIRST

Walks in breadth-first order.

By default, the Path.walk sequence traverses the starting directory and all its contents in depth-first order. Passing this option to the function changes the traversal to breadth-first order.

Properties

Link copied to clipboard
actual val name: String

Returns the name of this enum constant, exactly as declared in its enum declaration.

Link copied to clipboard
actual val ordinal: Int

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).