Type Alias FileSystemAttributesInternal

FileSystemAttributes: {
    default_stream_read: void;
    default_stream_write: void;
    no_async: void;
    no_buffer_resize: void;
    no_cache: void;
    no_write: void;
    setid: void;
}

Attributes that control how the file system interacts with the VFS. No options are set by default.

Type declaration

  • Internaldefault_stream_read: void

    The FS is using the default implementation for streamRead

  • Internaldefault_stream_write: void

    The FS is using the default implementation for streamWrite

  • no_async: void

    If set disables async file systems from preloading their contents. This means sync operations will not work (unless the contents are cached) It has no affect on sync file systems.

  • no_buffer_resize: void

    If set, disables PreloadFile from using a resizable array buffer.

  • no_cache: void

    Currently unused. In the future, this will disable caching. Not recommended due to performance impact.

  • no_write: void

    If set, the file system should not be written to. This should be set for read-only file systems.

  • setid: void

    The FS supports setuid and setgid when creating files and directories.