Package-level declarations

Types

Link copied to clipboard
interface GuestVFS : FileSystem, Closeable, AutoCloseable

Describes the API surface of a guest virtual file system (VFS) implementation. The VFS system is used to fully virtualize and isolate I/O for guest languages running within an Elide application. By default, the guest VFS implementation functions as a read-only, TAR-backed file system.

Link copied to clipboard
interface LanguageVFS : GuestVFS

Describes the API surface of a guest language-specific virtual file system (VFS) implementation. The VFS system is aware of language VFS bindings, and provides these bindings in the event the corresponding language is requested for use in Elide.

Functions

Link copied to clipboard

Retrieve the registry of virtual file-system layers, bound to the corresponding language ID that registered it.

Link copied to clipboard
fun registerLanguageVfs(languageId: String, provider: () -> LanguageVFS.LanguageVFSInfo)

Register a language-specific VFS implementation for the specified languageId.