package opam-client

  1. Overview
  2. Docs

Functions handling the "opam tree" subcommand

type mode =
  1. | Deps
    (*

    Dependency forest (roots -> leaves)

    *)
  2. | ReverseDeps
    (*

    Reverse-dependency forest (leaves -> roots)

    *)

Speficy the type of the forest to build

type tree_filter =
  1. | Roots_from
    (*

    only the trees of the packages

    *)
  2. | Leads_to
    (*

    only the trees which have the packages as their leaves

    *)

Given a list of packages, thin the forest so that it has

val duplicate_symbol : string

Duplicated tree symbol

val run : [< OpamStateTypes.unlocked Lock_write ] OpamStateTypes.switch_state -> OpamListCommand.dependency_toggles -> ?no_constraint:bool -> ?no_switch:bool -> mode -> tree_filter -> OpamTypes.atom list -> unit

Outputs a dependency forest of the installed packages as a Unicode/ASCII-art tree.

OCaml

Innovation. Community. Security.