Skip to content

compareRemoteManifests

function compareRemoteManifests(
source: RemoteManifest,
destination: RemoteManifest,
options?: CompareRemoteManifestsOptions): RemoteTreeDiff;

Defined in: src/sync/manifest.ts:225

Compares two manifests and produces an entry-level diff.

The comparison is performed on the relative-path keys recorded inside each manifest; the absolute roots may differ between snapshots (e.g. captured against /site on the source and /var/www/site on the destination).

ParameterTypeDescription
sourceRemoteManifestSource-side manifest snapshot.
destinationRemoteManifestDestination-side manifest snapshot.
optionsCompareRemoteManifestsOptionsOptional comparison controls.

RemoteTreeDiff

Diff result mirroring RemoteTreeDiff.