Skip to main content

memory_roots

Function memory_roots 

Source
pub fn memory_roots(cwd: &Path) -> Vec<(PathBuf, MemoryScope)>
Expand description

The memory roots for cwd, in injection order (global → private → shared). Shared is omitted when cwd isn’t in a git repo. Returns an empty vec only if the machine data dir can’t be resolved.