foo-webview-sdk
    Preparing search index...

    Interface FileOpResultItem

    The result of one requested entry. A directory is one entry, reported once its whole tree has been handled.

    interface FileOpResultItem {
        destination?: string;
        reason?:
            | "already-exists"
            | "not-found"
            | "permission"
            | "cross-volume"
            | "path-too-long"
            | "io-error"
            | "cancelled";
        source: string;
        status: "skipped"
        | "failed"
        | "ok";
    }
    Index
    destination?: string

    The destination as requested; absent for file.deleteAsync.

    reason?:
        | "already-exists"
        | "not-found"
        | "permission"
        | "cross-volume"
        | "path-too-long"
        | "io-error"
        | "cancelled"

    Why: already-exists or cancelled with skipped; not-found, permission, path-too-long or io-error with failed; cross-volume with ok, for a move across volumes done as a copy and a delete. path-too-long means a path the entry needed, inside a copied folder included, is longer than 259 characters, or a folder it had to create is longer than 247. Absent when the entry was carried out plainly.

    source: string

    The source as requested, path variables unexpanded.

    status: "skipped" | "failed" | "ok"

    ok when carried out; skipped when deliberately not carried out, because the destination existed or the run was cancelled first; failed otherwise.