fingerprintsMatch
function fingerprintsMatch(stored: TransferSourceFingerprint, current: TransferSourceFingerprint): boolean;Defined in: src/transfers/TransferCheckpointStore.ts:190
Compares a stored fingerprint against the current source fingerprint.
A checkpoint is only trustworthy when at least one field is comparable on both sides and every comparable field matches exactly. A source with no comparable metadata never matches - resuming without any change detection risks corrupting the destination.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
stored | TransferSourceFingerprint | Fingerprint captured when the checkpoint was written. |
current | TransferSourceFingerprint | Fingerprint of the source object right now. |
Returns
Section titled “Returns”boolean
true when the source is provably unchanged.