system_registry v0.8.1 SystemRegistry.Node

Link to this section Summary

Link to this section Types

Link to this type

t()
t() :: [parent: [term()], node: [term()], key: term(), from: pid() | nil]

Link to this section Functions

Link to this function

binding(key, scope)

Link to this function

internal_nodes(node)

Link to this function

leaf(node, opts \\ [])

Link to this function

leaf_nodes(map)

Return the leaf nodes in full path form.

Examples

iex> SystemRegistry.Node.leaf_nodes(%{a: 2}) [[:a]]

iex> SystemRegistry.Node.leaf_nodes(%{a: %{b: 1, c: %{d: 2}}}) [[:a, :b], [:a, :c, :d]]

iex> SystemRegistry.Node.leaf_nodes(%{}) []

Link to this function

trim_tree(value, path, bind_key)