Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 908 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 908 Bytes

Files

badge badge badge badge badge

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")
}