CreationOptions
Defined in: src/internal/filesystem.ts:114
Internal
Options used when creating files and directories. This weird naming and such is to preserve backward compatibility.
Extends
Section titled “Extends”Readonly<Partial<InodeLike>>
Properties
Section titled “Properties”atimeMs?
Section titled “atimeMs?”
readonlyoptionalatimeMs?:number
Defined in: src/internal/inode.ts:193
Time of last access, since epoch
Inherited from
Section titled “Inherited from”Readonly.atimeMs
attributes?
Section titled “attributes?”
readonlyoptionalattributes?:Attributes
Defined in: src/internal/inode.ts:184
Extended attributes
Inherited from
Section titled “Inherited from”birthtimeMs?
Section titled “birthtimeMs?”
readonlyoptionalbirthtimeMs?:number
Defined in: src/internal/inode.ts:199
Time of file creation, since epoch
Inherited from
Section titled “Inherited from”Readonly.birthtimeMs
ctimeMs?
Section titled “ctimeMs?”
readonlyoptionalctimeMs?:number
Defined in: src/internal/inode.ts:197
Time of last time file status was changed, since epoch
Inherited from
Section titled “Inherited from”Readonly.ctimeMs
readonlyoptionaldata?:number
Defined in: src/internal/inode.ts:180
Inherited from
Section titled “Inherited from”flags?
Section titled “flags?”
readonlyoptionalflags?:number
Defined in: src/internal/inode.ts:181
Inherited from
Section titled “Inherited from”
readonlygid:number
Defined in: src/internal/filesystem.ts:125
The gid to create the file. This is ignored if the FS supports setgid and the setgid bit is set
Overrides
Section titled “Overrides”Readonly.gid
readonlyoptionalino?:number
Defined in: src/internal/inode.ts:205
Inode number
Inherited from
Section titled “Inherited from”Readonly.ino
readonlymode:number
Defined in: src/internal/filesystem.ts:130
The mode to create the file with.
Overrides
Section titled “Overrides”Readonly.mode
mtimeMs?
Section titled “mtimeMs?”
readonlyoptionalmtimeMs?:number
Defined in: src/internal/inode.ts:195
Time of last modification, since epoch
Inherited from
Section titled “Inherited from”Readonly.mtimeMs
nlink?
Section titled “nlink?”
readonlyoptionalnlink?:number
Defined in: src/internal/inode.ts:207
Number of hard links
Inherited from
Section titled “Inherited from”Readonly.nlink
readonlyoptionalrdev?:number
Defined in: src/internal/inode.ts:209
Device ID for special files
Inherited from
Section titled “Inherited from”Readonly.rdev
readonlyoptionalsize?:number
Defined in: src/internal/inode.ts:189
Size of the item in bytes. For directories/symlinks, this may be the size of the struct that represents the item.
Inherited from
Section titled “Inherited from”Readonly.size
readonlyuid:number
Defined in: src/internal/filesystem.ts:119
The uid to create the file. This is ignored if the FS supports setuid and the setuid bit is set
Overrides
Section titled “Overrides”Readonly.uid
version?
Section titled “version?”
readonlyoptionalversion?:number
Defined in: src/internal/inode.ts:182