pub async fn load_from_memory_bank(
file_path: &Path,
) -> Result<MemoryBankEntry, MemoryBankError>Expand description
Load a memory bank entry from a markdown file
§Arguments
file_path- Path to the memory bank markdown file
§Returns
The loaded memory bank entry with file_path populated
§Errors
Returns MemoryBankError::Io if file read fails, or MemoryBankError::Parse
if the markdown format is invalid
§Examples
ⓘ
use gestura_core::memory_bank::load_from_memory_bank;
use std::path::Path;
let file_path = Path::new(".gestura/memory/memory_20260121_143022_session-a.md");
let entry = load_from_memory_bank(file_path).await?;
println!("Loaded: {}", entry.summary);