← Docs
kotlin-stdlib / kotlin.io / FileTreeWalk / onLeave

onLeave

JVM
1.0
fun onLeave ( function : ( File ) -> Unit ) : FileTreeWalk
(source)

Sets a callback function , that is called on any left directory after its files are visited and after it is visited itself.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .