Skip to main content

Module ancestry

Module ancestry 

Source
Expand description

A Store decorator that retains each committed body in a content-addressed BlobStore, keyed by its revision hash, so sync can fetch a divergence’s common ancestor for a true 3-way merge (ADR 0016).

Structs§

AncestryStore
Wraps a record Store and an ancestry BlobStore. On a committed put it also writes the record’s body.bytes() to the ancestry store; because Revision.hash == ContentHash::of(body.bytes()), each version’s body is later retrievable by its revision hash. get/list delegate unchanged.