mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
8 lines
133 B
Kotlin
8 lines
133 B
Kotlin
package com.github.libretube.extensions
|
|
|
|
import java.io.File
|
|
|
|
fun File.createDir() = apply {
|
|
if (!this.exists()) this.mkdirs()
|
|
}
|