visit

open suspend override fun visit(depth: Int, visitor: suspend (FileSystemEntry) -> Unit)(source)

Visits this folder and its descendants up to the specified depth.

Parameters

depth

how deep to traverse (0 = this folder only, negative values treated as 0)

visitor

function called for each visited entry