Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Engine lifecycle — settings/workspace-root setters, runtime mem add/remove, reload, and export.

register_writable_mem / unregister_writable_mem are the engine-level primitives the memstead_mem_create / memstead_mem_delete handlers build on. reload_one_mem* re-reads a mount’s backend and refreshes the in-memory store; reload_each_writable_mem* sweeps every writable mount. export_markdown regenerates entity markdown for folder mounts; export_mem produces a portable .mem archive via the backend-aware dispatch in crate::ops::export.