Interface TouchOptions

interface TouchOptions {
    aTime?: boolean;
    date?: string | Date;
    mTime?: boolean;
    noCreate?: boolean;
    reference?: string;
    symlink?: boolean;
    time?: string | Date;
}

Hierarchy (view full)

Properties

aTime?: boolean

Adds -a flag. Changes access time. UTC time.

date?: string | Date

Adds -d <date> flag. UTC time.

mTime?: boolean

Adds -m flag. Changes modification time. UTC time.

noCreate?: boolean

Adds -m flag. Does not create file. Does not create file.

reference?: string

Adds -r <reference> flag.

symlink?: boolean

Adds -s flag. Creates symlink.

time?: string | Date

Adds -t <time> flag. UTC time.