Liking cljdoc? Tell your friends :D

clojure.tools.deps.alpha.tree


(print-tree tree {:keys [indent] :or {indent 2} :as opts})
(print-tree {:keys [children] :as tree} indented opts)

Print the tree to the console. Options: :indent Indent spacing (default = 2) :hide-libs Set of libs to ignore as deps under top deps, default = #{org.clojure/clojure}

Print the tree to the console.
Options:
  :indent    Indent spacing (default = 2)
  :hide-libs Set of libs to ignore as deps under top deps, default = #{org.clojure/clojure}
sourceraw docstring

trace->treeclj

(trace->tree trace)

Convert a deps trace data structure into a deps tree.

A deps tree has the structure of the full dependency expansion. Each node of the tree is a map from lib to coord-info with at least these keys: :lib - library symbol :coord - the coord map that was used (may not be the original coord if replaced due to default-deps or override-deps) :include - boolean of whether this node is included in the returned deps :reason - why the node was or was not included :children - vector of child nodes

Convert a deps trace data structure into a deps tree.

A deps tree has the structure of the full dependency expansion.
Each node of the tree is a map from lib to coord-info with at least these keys:
  :lib - library symbol
  :coord - the coord map that was used (may not be the original coord if replaced
           due to default-deps or override-deps)
  :include - boolean of whether this node is included in the returned deps
  :reason - why the node was or was not included
  :children - vector of child nodes
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close