Skip to main content

project_root

Function project_root 

Source
pub fn project_root(cwd: &Path) -> PathBuf
Expand description

The project a working directory belongs to: the nearest directory at or above it that holds .dreamer/memory or .git, else the directory itself.