Skip to main content

project_root

Function project_root 

Source
pub fn project_root(path: &str) -> String
Expand description

The project root a stream is kept under: normalized and promoted to its git root, so a hook’s cwd in a subdirectory, the MCP session’s root and a reader’s --project-root name the same project.