Skip to main content

Module driver

Module driver 

Source
Expand description

The driver (spec/sync/README.md §6): the engine-side loop over a SyncSource — reconcile_changes (fetch, observe_batch, checkpoint) and attach_source (ensure_repo, then ingest every enumerated member).

Structs§

AttachResult
What attach_source did.

Functions§

attach_source
ensure_repo, then for every enumerated entry fetch and ingest — with the reconciling resolver when identity is inferred, the plain re-mint ingest otherwise (§9) — counting files and whether all converged. A member whose fetch returns None is skipped.
reconcile_changes
Fetch every path through the source (None → gone), observe_batch, record the checkpoint exactly as §4.1.