@nextcloud/files

    Interface CopyFileOptions

    interface CopyFileOptions {
        data?: RequestDataPayload;
        headers?: Headers;
        overwrite?: boolean;
        shallow?: boolean;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    headers?: Headers
    overwrite?: boolean

    Set to false to disable overwriting an existing resource during MOVE or COPY.

    true
    
    shallow?: boolean

    Set to true to create a shallow copy only by only copying the resource with its properties but without its children. By default the collection itself with all children is copied (WebDAV Depth header of 'infinity')

    false
    
    signal?: AbortSignal
    MMNEPVFCICPMFPCPTTAAATR