The whole source-control snapshot the host projects to a vcs:read frame. Plain JSON — never a DiffResult / FileSystem / Journal.

interface VcsState {
    branch: null | VcsBranch;
    changes: VcsChange[];
    diffLoading: boolean;
    prs: VcsPR[];
}

Properties

branch: null | VcsBranch
changes: VcsChange[]
diffLoading: boolean

True while the host is recomputing the diff — the panel shows a spinner without a separate request (plan gotcha).

prs: VcsPR[]