def unused.put

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

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

454# a dependency reported when nothing imports it
455def unused.put(hit: Bool, +dependency: M.Dep, rest: List<&2, String>) -> List<&2, String>:
456  match hit:
457    case True{}:
458      rest
459    case False{}:
460      unused.line(dependency) <> rest

Uses (5)

Used by (1)