Expand description
Markdown and mem-archive export.
export_markdown regenerates entity files from the store, only writing
files that actually changed (incremental). Compares generated markdown
against the current file on disk byte-for-byte.
export_mem zips a mem directory into a portable .mem archive
with deterministic output (sorted entries, fixed mtime).
Enums§
Functions§
- export_
entity - Export a single entity by ID.
- export_
markdown - Regenerate all entity markdown files from the in-memory store. Only writes files that have changed (incremental export).
- export_
mem - Export a mem directory as a portable
.memarchive. - export_
mem_ from_ branch - Export a mem as a portable
.memarchive by walking themem-repo-gitbranch tree directly — the git-object storage path’s counterpart toexport_mem. No working tree is consulted; all.mdcontent comes from the per-mem branch tip, sorted by path for deterministic archive bytes. - export_
mem_ from_ branch_ to_ bytes - Byte-shaped counterpart to
export_mem_from_branch. Same wire format, same determinism contract, no on-disk artifact — the bytes are the output. The engine’sexport_mem_to_bytesdispatches to this for git-branch mounts via thememstead_base::GitBranchOpsbundle so byte-snapshot consumers (the bridge, future WASM replicas) treat folder and git-branch backends symmetrically.