Skip to main content

run

Function run 

Source
pub fn run(request: &Request, diagram_output: &mut dyn Write) -> Result<()>
Expand description

Analyze and export dependencies, writing the diagram to the supplied writer unless the request selects an output file.

Analysis and serialization failures leave existing output files unchanged. Output files must be distinct and must not overwrite input files. Opening failures can leave new empty files; writing failures can leave partial outputs. Cycle and outgoing dependency checks fail only after outputs have been written.