cargo::ops::tree

Function print

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

Prints a tree for each given root.