Skip to main content

resolve_project

Function resolve_project 

Source
pub fn resolve_project(
    layout: &Layout,
    explicit: Option<&str>,
) -> Result<String>
Expand description

Resolve the project to act on. An explicit name wins; otherwise walk up from the current directory for .project-ctx.toml and read [project].name. Neither available is an error, so nothing is ever guessed silently.