Interface MakeDirectoryOptions

Options for creating a directory.

interface MakeDirectoryOptions {
    mode?: number;
    owner?: {
        groupName?: string;
        username?: string;
    };
}

Properties

Properties

mode?: number

The file mode for the directory.

owner?: {
    groupName?: string;
    username?: string;
}

Ownership information for the directory.

Type declaration

  • OptionalgroupName?: string

    The group name of the owner.

  • Optionalusername?: string

    The username of the owner.