cmd-sync-servers - v1.0.0
    Preparing search index...

    Interface Comparison

    Both copies of a file for a diff; the remote one is a private temp copy removed by dispose.

    interface Comparison {
        local: ComparedSide | undefined;
        path: RemotePath;
        remote: ComparedSide | undefined;
        dispose(): Promise<void>;
    }
    Index
    local: ComparedSide | undefined

    The local copy, or undefined when there is none.

    The site-relative path compared.

    remote: ComparedSide | undefined

    The remote copy, or undefined when there is none.

    • Removes the temp copy. Call it when done reading.

      Returns Promise<void>