ZenFS
    Preparing search index...

    Interface CreationOptionsInternal

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

    interface CreationOptions {
        atimeMs?: number;
        attributes?: Attributes;
        birthtimeMs?: number;
        ctimeMs?: number;
        data?: number;
        flags?: number;
        gid: number;
        ino?: number;
        mode: number;
        mtimeMs?: number;
        nlink?: number;
        size?: number;
        uid: number;
        version?: number;
    }

    Hierarchy

    Index

    Properties

    atimeMs?: number

    Time of last access, since epoch

    attributes?: Attributes
    birthtimeMs?: number

    Time of file creation, since epoch

    ctimeMs?: number

    Time of last time file status was changed, since epoch

    data?: number
    flags?: number
    gid: number

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

    ino?: number

    Inode number

    mode: number

    The mode to create the file with.

    mtimeMs?: number

    Time of last modification, since epoch

    nlink?: number

    Number of hard links

    size?: number

    Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.

    uid: number

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

    version?: number