SyncIO

Types

Link copied to clipboard
object Companion : SyncIO

Functions

Link copied to clipboard
open fun delete(path: String): Boolean
Link copied to clipboard
open fun exec(commands: List<String>, envs: Map<String, String>, cwd: String = "."): SyncExecProcess
Link copied to clipboard
Link copied to clipboard
open fun list(path: String): List<String>
Link copied to clipboard
open fun mkdir(path: String): Boolean
Link copied to clipboard
open fun open(path: String, mode: String): SyncIOFD
Link copied to clipboard
open fun readAllBytes(path: String): ByteArray
Link copied to clipboard
open fun readlink(path: String): String?
Link copied to clipboard
open fun readString(path: String): String
Link copied to clipboard
open fun realpath(path: String): String
Link copied to clipboard
open fun rmdir(path: String): Boolean
Link copied to clipboard
open fun stat(path: String): SyncIOStat?
Link copied to clipboard
open fun write(path: String, data: ByteArray)
Link copied to clipboard
open fun writeAllBytes(path: String, data: ByteArray)
Link copied to clipboard
open fun writelink(path: String, link: String?)
Link copied to clipboard
open fun writeString(path: String, data: String)