foo-webview-sdk
    Preparing search index...

    Interface FileMoveAsyncParams

    Parameters for file.moveAsync. Start a cancellable batch move on a worker thread, with the same receipt and events as file.copyAsync. Within one volume a move is a rename; across volumes an entry is copied and its source then deleted.

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

    Entries to move, 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 for writing before anything starts, source included, since a move deletes it; 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; the synchronous file.move always replaces one. An existing directory destination is never replaced: Windows cannot swap a directory in place, so on the same volume such an entry ends as skipped or failed.

    false