Skip to main content

discover

Function discover 

Source
pub fn discover(root: &Path, runtime: Runtime) -> Result<Topology, Error>
Expand description

The whole topology of a repository: the executable’s routes, the application, the crate’s rustdoc and the generated reports.

Discovery never fails on an absent producer — a report that has not been generated is simply not a surface yet, and super::validate is where a required artifact being missing becomes a finding.