Skip to content

apply_repository_export_delta

Function: warmhub.apply_repository_export_delta

apply_repository_export_delta(base: Iterable[RepositoryExportRow], delta: Iterable[RepositoryExportRow])

Fold a delta export over a base, keyed by durable identity.

Pure and order-preserving: rows already present keep their position, new rows land at the end, and tombstones drop their identity. Durable identity is the key rather than wref because a rename changes the wref and this fold must survive one.