Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
external class BlobExt
Link copied to clipboard
data class FinalVfsFile(val file: VfsFile)
Link copied to clipboard
interface Path
Link copied to clipboard
inline class PathInfo(val fullPath: String)
Link copied to clipboard
interface SimpleStorage
Link copied to clipboard
abstract class Vfs : AsyncCloseable
Link copied to clipboard
Link copied to clipboard
data class VfsFile(val vfs: Vfs, val path: String) : VfsNamed, AsyncInputOpenable, Extra
Link copied to clipboard
open class VfsNamed(val pathInfo: PathInfo) : Path
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class VfsStat(val file: VfsFile, val exists: Boolean, val isDirectory: Boolean, val size: Long, val device: Long = -1L, val inode: Long = -1L, val mode: Int = 511, val owner: String = "nobody", val group: String = "nobody", val createTime: DateTime = DateTime.EPOCH, val modifiedTime: DateTime = createTime, val lastAccessTime: DateTime = modifiedTime, val extraInfo: Any? = null, val kind: Vfs.FileKind? = null, val id: String? = null) : Path

Properties

Link copied to clipboard

/path\to/file.ext -> file.ext

Link copied to clipboard
Link copied to clipboard

/path\to/file.1.EXT -> 1.EXT

Link copied to clipboard

/path\to/file.1.EXT -> 1.ext

Link copied to clipboard
Link copied to clipboard

/path\to/file.1.EXT -> EXT

Link copied to clipboard

/path\to/file.1.EXT -> ext

Link copied to clipboard
actual val File_separatorChar: Char = '/'
actual val File_separatorChar: Char = '/'
Link copied to clipboard

/path\to/file.ext -> /path\to

Link copied to clipboard

/path\to/file.ext -> /path/to/

Link copied to clipboard

/path\to/file.1.ext -> /path\to/file.1.ext

Link copied to clipboard

/path\to/file.1.ext -> /path\to/file.1

Link copied to clipboard

/path\to/file.ext -> /path/to/file.ext

Link copied to clipboard

/path\to/file.ext -> /path\to/file

Link copied to clipboard
Link copied to clipboard

/path\to/file.1.jpg -> MimeType("image/jpeg", listOf("jpg", "jpeg"))

Link copied to clipboard
Link copied to clipboard

/path\to/file.ext -> /path\to

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

/path\to/file.1.ext -> file.1.newext

Link copied to clipboard
Link copied to clipboard
suspend fun VfsFile.deleteRecursively(includeSelf: Boolean = true)

Deletes all the files in this folder recursively. If the entry is a file instead of a directory, the file is deleted.

Link copied to clipboard

/path\to/file.ext -> /path\to/file.newext

Link copied to clipboard

/path\to/file.1.ext -> listOf("", "path", "to", "file.1.ext")

Link copied to clipboard

/path\to/file.1.ext -> listOf("/path", "/path/to", "/path/to/file.1.ext")

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun VfsFile.proxied(transform: suspend (VfsFile) -> VfsFile): VfsFile
Link copied to clipboard
Link copied to clipboard
inline suspend fun VfsFile.setUnixPermission(permissions: Vfs.UnixPermissions)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <R> VfsFile.useVfs(callback: suspend (VfsFile) -> R): R
Link copied to clipboard
fun VfsFile.withOnce(once: suspend (VfsFile) -> Unit): VfsFile
Link copied to clipboard
suspend fun ByteArray.writeToFile(file: VfsFile): Long
suspend fun ByteArray.writeToFile(path: String): Long