Skip to main content

Module filesystem

Module filesystem 

Source
Expand description

Filesystem services supplied by the embedding runtime.

Capability checks and fuel admission belong to the host caller. Embedders supply an effect ID and optional work budget with each call.

Structs§

DirectoryEntry
DirectoryNames
DirectoryReader
DownloadOptions
Immutable admission arguments; response bytes and metadata never enter this record.
FileContents
Bounded native data stays charged until its consumer finishes with it.
FileReader
Resource values contain persistent identity and optional process-local handles. They never retain a backend or persistence services. Every resource belongs to a run; process-local handles are omitted from history and absent after decoding.
FileUpdateOutput
FileWriter
FilesystemInfo
MountInfo
PreparedFileUpdate
A native transformation has finished, but nothing has been published yet. The filesystem does not interpret the caller’s encoded result.
ReadOutput
ReadPosition

Enums§

FilesystemError
ReadItem
ReaderOptions

Traits§

Download
Disposable streaming storage owned by the filesystem. Drop cleans up staging. publish consumes ownership; completion belongs to the enclosing effect history.
FileUpdate
A replacement opened under the backend’s existing serialization boundary. The caller prepares fresh contents or authorizes the saved output before supplying its normal immutable worker budget to publish.
Filesystem
MutationBudget
Resource accounting for native tree operations. Once a mutation succeeds, subsequent work must settle fuel rather than refuse. Heap admission stays fallible.

Functions§

bounded_read