Skip to main content

run_doctor

Function run_doctor 

Source
pub fn run_doctor(
    manager: &PackageManager,
    runtime_path: &Path,
    overrides_path: &Path,
) -> Result<DoctorReport>
Expand description

Construct a Doctor directly from a PackageManager reference.

runtime_path / overrides_path are absolute paths passed in so the caller controls which configuration sources are read — important for tests and for the future CLI subcommand that operates against a different project root.