Skip to main content

project_root

Function project_root 

Source
pub fn project_root(config_path: &Path) -> Option<&Path>
Expand description

Get the project root directory from a config file path.

Returns the parent directory of the pxl.toml file.