markmv - v1.41.7
    Preparing search index...

    Interface FileCopyOptions

    Configuration options for file copy operations.

    Controls behavior during file copying including overwrite handling, timestamp preservation, and directory creation.

    interface FileCopyOptions {
        createDirectories?: boolean;
        overwrite?: boolean;
        preserveTimestamps?: boolean;
    }

    Hierarchy (View Summary)

    Index
    createDirectories?: boolean

    Create missing parent directories of the destination first.

    true
    
    overwrite?: boolean

    Replace an existing destination file. When false (the default), copying onto an existing file throws.

    preserveTimestamps?: boolean

    Set the destination's access and modification times to those of the source after copying.

    false