def imports.notes

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

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

513# the report over a ledger. One that did not read is its own problem, and
514# there is nothing to compare the source with.
515def imports.notes(ledger: M.Read, got: DW.Heard) -> List<&2, Note>:
516  match ledger:
517    case M.Bad{_why}:
518      [Note{False{}, "imports: not compared, since ez.toml was not read"}]
519    case M.Good{m}:
520      sources.notes(got, deps.of(m))

Uses (7)

Used by (1)