Skip to main content

rebuild_index

Function rebuild_index 

Source
pub fn rebuild_index(memory_dir: &Path) -> Result<(), String>
Expand description

Rebuild MEMORY.md from the actual files in the memory directory. Scans all .md files (except MEMORY.md itself), reads their frontmatter, and regenerates the index.