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:202
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:238
Extended attributes
Inherited from
Section titled “Inherited from”birthtimeMs?
Section titled “birthtimeMs?”
readonlyoptionalbirthtimeMs?:number
Defined in: src/internal/inode.ts:214
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:210
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:226
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:206
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:230
Number of hard links
Inherited from
Section titled “Inherited from”Readonly.nlink
readonlyoptionalrdev?:number
Defined in: src/internal/inode.ts:234
Device ID for special files
Inherited from
Section titled “Inherited from”Readonly.rdev
readonlyoptionalsize?:number
Defined in: src/internal/inode.ts:194
Size of the item in bytes. For directories/symlinks, this is normally 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