foo-webview-sdk
    Preparing search index...

    Interface FileMoveParams

    Parameters for file.move. Move a file or directory, blocking until the move is done. A file can move to another volume; a directory cannot, and that fails with NOT_SUPPORTED and details.reason: "cross-volume". A source that does not exist fails with NOT_FOUND.

    interface FileMoveParams {
        destination: string;
        source: string;
    }
    Index
    destination: string

    Target path. An existing file there is replaced; moving a file onto an existing directory, or under a parent directory that does not exist, fails.

    source: string

    File or directory to move.