Skip to main content

hydrate_from_snapshot

Function hydrate_from_snapshot 

pub fn hydrate_from_snapshot(workspace_dir: &Path) -> Result<usize>
Expand description

Import memories from MEMORY_SNAPSHOT.md into SQLite. Called during cold-boot when brain.db doesn’t exist but the snapshot does. Returns the number of entries hydrated.