World.parsed: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/world.bend as World Lines 424-431 of ezx@1.11.0.0/src/lock/world.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/world.bend&start_line=424&end_line=431 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the ledger, read. A missing one is refused as a ledger that does not # parse: only `ez init` makes a ledger, and a lock of none is not a lock. def parsed(ledger: Maybe<&2, String>) -> M.Read: match ledger: case None{}: M.Bad{"no ez.toml here; ez lock works on a project's ledger, and ez init makes one"} case Some{text}: M.parse(text) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=parse