cargo::ops::tree

Function print

Source
fn print(
    ws: &Workspace<'_>,
    opts: &TreeOptions,
    roots: Vec<usize>,
    pkgs_to_prune: &[PackageIdSpec],
    graph: &Graph<'_>,
) -> CargoResult<()>
Expand description

Prints a tree for each given root.