Skip to content

StatsLike

Defined in: src/node/stats.ts:12

T extends number | bigint = number | bigint

atimeMs: T

Defined in: src/node/stats.ts:25

Time of last access, since epoch


birthtimeMs: T

Defined in: src/node/stats.ts:37

Time of file creation, since epoch


ctimeMs: T

Defined in: src/node/stats.ts:33

Time of last time file status was changed, since epoch


gid: T

Defined in: src/node/stats.ts:45

The id of the group that owns the file


ino: T

Defined in: src/node/stats.ts:49

Inode number


mode: T

Defined in: src/node/stats.ts:21

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


mtimeMs: T

Defined in: src/node/stats.ts:29

Time of last modification, since epoch


nlink: T

Defined in: src/node/stats.ts:53

Number of hard links


size: T

Defined in: src/node/stats.ts:17

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


uid: T

Defined in: src/node/stats.ts:41

The id of the user that owns the file