def man.of

ezx@1.11.0.0 · src/tool/plan.bend:561

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

561# the model of a ledger that read, an empty one otherwise
562def man.of(parsed: M.Read) -> M.Manifest:
563  match parsed:
564    case M.Bad{_why}:
565      M.Manifest{"", "", "", "", "", "", [], []}
566    case M.Good{m}:
567      m

Uses (3)

Used by (1)