Interface CreationOptionsInternal

Options used when creating files and directories. This weird naming and such is to preserve backward compatibility.

[BREAKING] Move the mode parameter of createFile and mkdir into this

interface CreationOptions {
    gid: number;
    mode?: number;
    uid: number;
}

Hierarchy (View Summary)

Properties

Properties

gid: number

The gid to create the file. This is ignored if the FS supports setgid and the setgid bit is set

mode?: number

The mode to create the file with.

uid: number

The uid to create the file. This is ignored if the FS supports setuid and the setuid bit is set