Skip to main content

project_path

Function project_path 

Source
pub fn project_path(dir: &Path, root: &str) -> PathBuf
Expand description

Where the latest snapshot for project root lives. Hosts (a Claude status line, a Stop hook) know their working directory but not lean-ctx’s session id; this pointer is how they find the numbers of the session serving them.