Interface InodeLike

interface InodeLike {
    atimeMs: number;
    birthtimeMs: number;
    ctimeMs: number;
    data?: number;
    flags?: number;
    gid: number;
    ino: number;
    mode: number;
    mtimeMs: number;
    nlink: number;
    size: number;
    uid: number;
}

Hierarchy (View Summary)

Implemented by

Properties

atimeMs: number

Time of last access, since epoch

birthtimeMs: number

Time of file creation, since epoch

ctimeMs: number

Time of last time file status was changed, since epoch

data?: number
flags?: number
gid: number

The id of the group that owns the file

ino: number

Inode number

mode: number

Unix-style file mode (e.g. 0o644) that includes the item type

mtimeMs: number

Time of last modification, since epoch

nlink: number

Number of hard links

size: number

Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.

uid: number

The id of the user that owns the file