Interface StatsLike<T>

interface StatsLike<T> {
    atimeMs: T;
    birthtimeMs: T;
    ctimeMs: T;
    gid: T;
    ino: T;
    mode: T;
    mtimeMs: T;
    nlink: T;
    size: T;
    uid: T;
}

Type Parameters

  • T extends number | bigint = number | bigint

Implemented by

Properties

atimeMs: T

Time of last access, since epoch

birthtimeMs: T

Time of file creation, since epoch

ctimeMs: T

Time of last time file status was changed, since epoch

gid: T

The id of the group that owns the file

ino: T

Inode number

mode: T

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

mtimeMs: T

Time of last modification, since epoch

nlink: T

Number of hard links

size: T

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

uid: T

The id of the user that owns the file