Skip to main content

is_memory_path

Function is_memory_path 

Source
fn is_memory_path(path: &str, memory_roots: &[PathBuf]) -> bool
Expand description

Whether path is inside one of the memory directories.

The handoff turn writes memory itself. Counting those paths would displace the project files the successor needs, and counting their reads would measure the successor against the handoff’s own cost.