[android-components](../../index.md) / [mozilla.components.support.ktx.java.io](../index.md) / [java.io.File](./index.md)

### Extensions for java.io.File

| Name | Summary |
|---|---|
| [truncateDirectory](truncate-directory.md) | `fun `[`File`](https://developer.android.com/reference/java/io/File.html)`.truncateDirectory(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Removes all files in the directory named by this abstract pathname. Does nothing if the [File](https://developer.android.com/reference/java/io/File.html) is not pointing to a directory. |
