Skip to main content

write_memory

Function write_memory 

Source
pub fn write_memory(
    cwd: &Path,
    scope: MemoryScope,
    name: &str,
    description: &str,
    tags: &[String],
    body: &str,
) -> Result<PathBuf>
Expand description

Write a memory at the resolved directory for scope/cwd.

§Errors

scope resolving to no directory — NotFound, e.g. a project scope with no project — then write_to_dir’s.