Skip to main content

root

Function root 

Source
pub fn root() -> Option<String>
Expand description

The workspace ROOT (project dir), if known — falling back to cwd (the hook defaults root to cwd). Used by the adjacent-sibling classifier to find the workspace’s parent.