fun onLeave(function: (File) -> Unit): FileTreeWalk
Sets a callback function, that is called on any left directory after its files are visited and after it is visited itself.
© 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-tree-walk/on-leave.html