def project.of
import ezx@1.11.0.0/src/tool/world.bend as Worldimport Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
183# the project's ledger as read. A project with no ez.toml pins nothing, so
184# every target is a free one; one that does not parse is its own refusal.
185def project.of(got: Maybe<&2, String>) -> M.Read:
186 match got:
187 case None{}:
188 M.Good{M.Manifest{"", "", "", "", "", "", [], []}}
189 case Some{text}:
190 M.parse(text)