Logo Xantham

SnapshotChanges Type

SnapshotChanges describes what changed between the previous latest snapshot and the newly created snapshot. Changes are reported per-project so clients can track cache refs at the (snapshot, project) level.

Record fields

Record Field Description

ChangedProjects

Full Usage: ChangedProjects

Field type: JsonObject

ChangedProjects maps project handles to the file changes within that project. Projects not listed here (and not in RemovedProjects) are unchanged.

Field type: JsonObject

RemovedProjects

Full Usage: RemovedProjects

Field type: string[] voption

RemovedProjects lists project handles that were present in the previous snapshot but absent from the new one.

Field type: string[] voption

Static members

Static member Description

SnapshotChanges.Default

Full Usage: SnapshotChanges.Default

Returns: SnapshotChanges

The record with nothing set: every field is either optional or a default of its own, so this serialises to `{}`. Copy-update it to fill in the fields you mean - `{ SnapshotChanges.Default with ... }` - rather than writing all 2 out.

Returns: SnapshotChanges

Type something to start searching.