wasm-posix-host
    Preparing search index...

    Interface VfsImageOptions

    Options for saving a VFS image.

    interface VfsImageOptions {
        materializeAll?: boolean;
        metadata?: VfsImageMetadata | null;
        normalizeTimestampsMs?: number;
    }
    Index

    Properties

    materializeAll?: boolean

    If true, fetch and write all lazy file contents before saving. The resulting image is self-contained with no external URL dependencies. If false (default), lazy file metadata is preserved as-is.

    metadata?: VfsImageMetadata | null

    Optional image-level metadata. undefined preserves any metadata loaded from the source image; null clears it.

    normalizeTimestampsMs?: number

    Replace every allocated inode's atime, mtime, and ctime in the serialized snapshot with this millisecond value. The live filesystem is unchanged. Omit this for ordinary runtime snapshots that must preserve POSIX times.