Skip to main content

parse_memory_dir

Function parse_memory_dir 

Source
pub fn parse_memory_dir(memory_dir: &Path) -> Result<Vec<ParsedMemory>>
Expand description

Parses all memory markdown files in a folder.

Returns an empty vector when the folder does not exist. MEMORY.md is captured as an index entry alongside the per-fact files. Files that cannot be read are skipped with a debug log rather than failing the whole refresh.