Interface CreationOptionsInternal

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

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

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