Files
A multiplatform exposer of file
Introduction
This library will give you basic access to File
in common code
Samples
suspend fun checkFileThenReadBytes(file: File){
if(file.extension()=="jpg") { println("File is jpg")}
val content = file.readBytes() //suspends here
}
Setup
dependencies {
implementation("tz.co.asoft:files:0.0.1")
}