files

An exposer of files

License

License

GroupId

GroupId

tz.co.asoft
ArtifactId

ArtifactId

files
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

files
An exposer of files
Project URL

Project URL

https://github.com/aSoft-Ltd/files
Source Code Management

Source Code Management

https://github.com/aSoft-Ltd/files

Download files

Dependencies

compile (3)

Group / Artifact Type Version
org.jetbrains.kotlinx : kotlinx-serialization-core jar 1.0.1
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.1
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.4.20

Project Modules

There are no modules declared in this project.

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")
}
tz.co.asoft

asoft

Versions

Version
0.0.1