Skip to main content

assess_with

Function assess_with 

Source
pub fn assess_with(
    target: &Utf8Path,
    named: Option<Utf8PathBuf>,
) -> Result<AssessReport, AppError>
Expand description

Assess target with the docs-scratch variable’s value supplied.

The environment is read at one boundary and passed in, so every case is reachable from a test. This crate forbids unsafe code, and setting a variable is unsafe from the 2024 edition on, so a test that could not inject would read the developer’s own shell instead.

§Errors

See assess.