def deps.put

ezx@1.11.0.0 · src/ledger/manifest.bend:145

import ezx@1.11.0.0/src/ledger/manifest.bend as Manifest
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T

145# a section joins the dependencies only when it is a `[deps.<name>]`
146def deps.put(is_dep: Bool, sect: T.Sect, rest: List<&2, Dep>) -> List<&2, Dep>:
147  match is_dep:
148    case True{}:
149      T.Sect{n, ps} = sect
150      dep_of(n, ps) <> rest
151    case False{}:
152      rest

Uses (5)

Used by (1)