def pinned

ezx@1.11.0.0 · src/doctor/plan.bend:423

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

423# the hashes a ledger's dependencies name, and the names it records them by
424def pinned(ds: List<&2, M.Dep>) -> List<&2, String>:
425  match ds:
426    case []:
427      []
428    case +h <> t:
429      M.dep.hash(h) <> pinned.nv(M.source.nv(M.source.dep(h)), pinned(t))

Uses (7)

Used by (2)