Skip to main content

Module writer

Module writer 

Source
Expand description

Entity → markdown projection writer for the export paths.

write_entity renders an entity to its {slug}.md file under a mem directory. It is used by the disk-export and working-tree export paths (Engine’s archive export and the git-branch ops::export), not by the store-mutation pipeline — live mutations persist through the storage backend’s write_entity, and entities live flat at {mem}/{slug}.md (no PART_OF-hierarchy path computation or file moves).

Enums§

WriteError

Functions§

write_entity
Write an entity to its file path under the mem directory. Creates parent directories as needed. Returns the absolute path where the file was written.