foo-webview-sdk
    Preparing search index...

    Interface FileCopyAsyncParams

    Parameters for file.copyAsync. Start a cancellable batch copy on a worker thread and return a receipt at once. The results arrive in batches on file:opProgress, followed by one file:opComplete. At most 8 batch operations run at a time across the process; beyond that the call fails with OPERATION_FAILED.

    interface FileCopyAsyncParams {
        items: FileOpEntry[];
        overwrite?: boolean;
    }
    Index
    items: FileOpEntry[]

    Entries to copy, reported one result each, in this order. An entry that is not an object holding exactly the string members source and destination fails the call with INVALID_PARAMS. Every path is checked before anything starts, source for reading and destination for writing; one refused path, an empty string included, fails the whole call with PERMISSION_DENIED and no operationId.

    overwrite?: boolean

    Replace an existing file destination instead of reporting the entry as skipped / already-exists. A directory copied onto an existing directory is merged into it either way; the files already inside are skipped, without being reported, unless this is set.

    false