Expand description
One-shot CMA tree import + export (v0.4.1 P0-2).
Structs§
Functions§
- export_
to_ tree - Export a synthesized CMA tree from a list of (path, body) pairs.
Used by tests + by
mnemo cma exportso users can leave mnemo cleanly. - import_
cma_ tree - Walk a CMA
.memory/tree and produce a deterministicImportSummary. The actual engine ingestion is wired in by the caller (the binary inmnemo-cli); this fn is pure so the summary is byte-identical between two runs over the same tree. - tree_
digest - Hash a CMA tree’s body content into a 32-byte SHA-256 so two trees with the same files-and-bytes produce the same digest. Used by the round-trip test.