Interface FileSystemMetadata

Metadata about a FileSystem

interface FileSystemMetadata {
    blockSize?: number;
    freeNodes?: number;
    freeSpace: number;
    name: string;
    noAsyncCache: boolean;
    noResizableBuffers: boolean;
    readonly: boolean;
    totalNodes?: number;
    totalSpace: number;
    type: number;
}

Properties

blockSize?: number

The optimal block size to use with the file system

Default

4096
freeNodes?: number

Number of free (file) nodes available

freeSpace: number

The available space

name: string

The name of the FS

noAsyncCache: boolean

If set, disables caching on async file systems. This means sync operations will not work. It has no affect on sync file systems.

Default

false
noResizableBuffers: boolean

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

Default

false
readonly: boolean

Wheter the FS is readonly or not

totalNodes?: number

Total number of (file) nodes available

totalSpace: number

The total space

type: number

The type of the FS