Skip to main content

resolve_package_path

Function resolve_package_path 

Source
fn resolve_package_path(
    config: &Config,
    path: Option<PathBuf>,
    global: Option<String>,
) -> Result<PathBuf>
Expand description

Resolve package path from -p (local path) or -g (system-installed name). When neither is given, walk up from cwd to find a package manifest.