Interface SandboxFsPort

The resolved sandbox ZenFS handle (node-compatible, /-rooted). Opaque to apps — reach it through openFs; the raw handle is the sandboxFs escape hatch.

interface SandboxFsPort {
    promises?: NodeFsPromises;
    readFile?: (
        path: string,
        encoding?: any,
    ) => Promise<string | Uint8Array<ArrayBufferLike>>;
}

Properties

Properties

promises?: NodeFsPromises
readFile?: (
    path: string,
    encoding?: any,
) => Promise<string | Uint8Array<ArrayBufferLike>>