com.avito.utils.ExistingFile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of files Show documentation
Show all versions of files Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.utils
import java.io.File
public fun File.toExisting(): ExistingFile =
ExistingFileImpl(this)
/**
* A way to represent in type system that client has no need to check file existence
*/
public interface ExistingFile {
public val file: File
}