FileSystem

interface FileSystem

A file system abstraction which can retrieve files, either absolutely or relative to a working directory.

Properties

Link copied to clipboard
abstract val workingDirectory: File?

The working directory of this file system. If not null, resolve will be able to resolve relative paths from this directory.

Functions

Link copied to clipboard
abstract fun resolve(path: String): File

Resolves a local file path, either absolutely or relatively from workingDirectory. This does not perform any check for file existence.