FileSystem

interface FileSystem

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val scheme: String

Functions

Link copied to clipboard
abstract suspend fun checkAccess(path: Path, vararg modes: AccessMode)
Link copied to clipboard
abstract suspend fun copy(source: Path, target: Path, vararg options: CopyFileOption)
Link copied to clipboard
abstract suspend fun createDirectory(directory: Path, vararg options: CreateFileOption)
Link copied to clipboard
abstract suspend fun createHardLink(link: Path, existing: Path)
Link copied to clipboard
abstract suspend fun createSymbolicLink(link: Path, target: ByteString, vararg options: CreateFileOption)
Link copied to clipboard
abstract suspend fun delete(path: Path)
Link copied to clipboard
abstract suspend fun getRealPath(path: Path): Path
Link copied to clipboard
abstract suspend fun isSameFile(path1: Path, path2: Path): Boolean
Link copied to clipboard
abstract suspend fun move(source: Path, target: Path, vararg options: CopyFileOption)
Link copied to clipboard
abstract suspend fun openContent(file: Path, vararg options: FileContentOption): FileContent
Link copied to clipboard
abstract suspend fun openDirectoryStream(directory: Path, vararg options: DirectoryStreamOption): DirectoryStream
Link copied to clipboard
abstract suspend fun openFileStore(path: Path): FileStore
Link copied to clipboard
abstract suspend fun openMetadataView(file: Path, vararg options: FileMetadataOption): FileMetadataView
Link copied to clipboard
open suspend fun openSink(file: Path, vararg options: FileContentOption = OPEN_SINK_OPTIONS_DEFAULT): AsyncSink
Link copied to clipboard
open suspend fun openSource(file: Path, vararg options: FileContentOption): AsyncSource
Link copied to clipboard
open suspend fun readDirectory(directory: Path, vararg options: DirectoryStreamOption): List<Path>
Link copied to clipboard
open suspend fun readMetadata(file: Path, vararg options: FileMetadataOption): FileMetadata
Link copied to clipboard
abstract suspend fun readSymbolicLink(link: Path): ByteString