Functions

Link copied to clipboard
abstract suspend fun create(parent: Path, name: String, type: FileMetadata.FileType)
Link copied to clipboard
abstract suspend fun delete(parent: Path, name: String)
Link copied to clipboard
abstract suspend fun extension(path: Path): String
Link copied to clipboard
abstract fun fromAbsoluteString(path: String): Path
Link copied to clipboard
abstract fun fromRelativeString(base: Path, path: String): Path
Link copied to clipboard
abstract suspend fun move(source: Path, target: Path)
Link copied to clipboard
abstract suspend fun name(path: Path): String
Link copied to clipboard
abstract suspend fun sink(path: Path, append: Boolean = false): Sink
Link copied to clipboard
abstract fun toAbsolutePathString(path: Path): String
Link copied to clipboard
abstract fun toPathString(path: Path): String

Performs path to string conversion.

Link copied to clipboard
abstract suspend fun write(path: Path, content: ByteArray)