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).
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
source | RemoteManifest | Source-side manifest snapshot. |
destination | RemoteManifest | Destination-side manifest snapshot. |
options | CompareRemoteManifestsOptions | Optional comparison controls. |
Returns
Section titled “Returns”Diff result mirroring RemoteTreeDiff.