foo-webview-sdk
    Preparing search index...

    Interface FileCopyParams

    Parameters for file.copy. Copy a file or a whole directory tree, blocking until the copy is done. A source that does not exist fails with NOT_FOUND. Prefer file.copyAsync for anything large.

    interface FileCopyParams {
        destination: string;
        overwrite?: boolean;
        source: string;
    }
    Index
    destination: string

    Target path. Its parent directory has to exist already.

    overwrite?: boolean

    Replace files that already exist at the target. Otherwise they are left as they are and the call still succeeds.

    false
    
    source: string

    File or directory to copy; a directory is copied with everything below it.