Skip to main content

current_project_root

Function current_project_root 

Source
pub fn current_project_root() -> Option<PathBuf>
Expand description

Returns cwd if it contains a .jyn/ directory, else None.

jyn’s task model is per-cwd (no walking up), and config follows the same rule for consistency: the local config layer corresponds to exactly the .jyn/ directory a user sees when they ls their cwd.