Type alias Stats

Stats: {
    dev: number;
    gid: number;
    ino: number;
    mode: number;
    size: number;
    uid: number;
    ctime?: Date;
    ctimeMs?: number;
    ctimeNanoseconds?: number;
    ctimeSeconds?: number;
    mtime?: Date;
    mtimeMs?: number;
    mtimeNanoseconds?: number;
    mtimeSeconds?: number;
}

Type declaration

  • dev: number

    The numeric identifier of the device containing the file.

  • gid: number

    The numeric group identifier of the group that owns the file (POSIX).

  • ino: number

    The file system specific "Inode" number for the file.

  • mode: number

    A bit-field describing the file type and mode.

  • size: number

    The size of the file in bytes.

  • uid: number

    The numeric user identifier of the user that owns the file (POSIX).

  • Optional ctime?: Date

    Change timestamp (ctime): which refers to the last time some metadata related to the file was changed.

  • Optional ctimeMs?: number

    The timestamp indicating the last time the file status was changed expressed in milliseconds since the POSIX Epoch.

  • Optional ctimeNanoseconds?: number

    The timestamp indicating the last time the file status was changed expressed in nanoseconds since the POSIX Epoch.

  • Optional ctimeSeconds?: number

    The timestamp indicating the last time the file status was changed expressed in seconds since the POSIX Epoch.

  • Optional mtime?: Date

    Modified timestamp (mtime): which is the last time a file's contents were modified.

  • Optional mtimeMs?: number

    The timestamp indicating the last time this file was modified expressed in milliseconds since the POSIX Epoch.

  • Optional mtimeNanoseconds?: number

    The timestamp indicating the last time this file was modified expressed in nanoseconds since the POSIX Epoch.

  • Optional mtimeSeconds?: number

    The timestamp indicating the last time this file was modified expressed in seconds since the POSIX Epoch.

Generated using TypeDoc