AsyncFileSystem

class Object
trait Matchable
class Any

Value members

Abstract methods

def delete(uri: URI): Future[Unit]

Deletes a file.

Deletes a file.

def info(uri: URI): Future[FileInfo]

Obtains meta data of a file. If the file does not exist, the failure is FileNotFoundException.

Obtains meta data of a file. If the file does not exist, the failure is FileNotFoundException.

def listDir(uri: URI): Future[Seq[URI]]

Lists the contents of a directory.

Lists the contents of a directory.

def mkDir(uri: URI): Future[Unit]

Creates a directory within a parent directory. The future value indicates success.

Creates a directory within a parent directory. The future value indicates success.

def mkDirs(uri: URI): Future[Unit]

Creates a directory along with all necessary parent directories if they do not yet exist. The future value indicates success.

Creates a directory along with all necessary parent directories if they do not yet exist. The future value indicates success.

def name: String

The logical name of the file system.

The logical name of the file system.

def openRead(uri: URI): Future[AsyncReadableByteChannel]

Opens a file for reading.

Opens a file for reading.

def openWrite(uri: URI, append: Boolean): Future[AsyncWritableByteChannel]

Opens a file for writing.

Opens a file for writing.

The provider that created this file system.

The provider that created this file system.

def release(): Unit

States the intent to no longer use the file system. Calling any of its methods afterwards is undefined behavior.

States the intent to no longer use the file system. Calling any of its methods afterwards is undefined behavior.

def scheme: String

The URI scheme of this file system. Same as provider.scheme

The URI scheme of this file system. Same as provider.scheme

Implicits

Implicits

implicit def executionContext: ExecutionContext