Skip to main content

discover_in

Function discover_in 

Source
pub fn discover_in(
    roots: Vec<PathBuf>,
    registry: &Registry,
) -> Result<Discovery>
Expand description

The body of discover, with the roots supplied rather than derived.

Separated so tests can walk a temporary directory. A test that called discover would walk whatever ~/Code happens to hold on the machine running it, which is both slow and a different answer on every machine.