Skip to main content

memory_root

Function memory_root 

Source
pub fn memory_root(home: &Path, cwd: &str) -> PathBuf
Expand description

Resolve <home>/.oxi/memory/<encoded-cwd>/ for the current cwd. Mirrors encodeProjectPath in omp’s index.ts: let encoded = "--" + cwd.trim_start_matches(['/','\\']).replace(['/','\\',':'], "-") + "--";