Plan.led.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/plan.bend as Plan Lines 276-285 of ezx@1.11.0.0/src/pub/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/plan.bend&start_line=276&end_line=285 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/pub/world.bend as PW # the ledger read. With no ez.toml there is no package, and nothing is # guessed in its place (`cargo publish` refuses a directory with no # Cargo.toml the same way). def led.of(got: Maybe<&2, String>) -> Led: match got: case None{}: LedNo{"ez: no " ++ PW.toml() ++ " here; ez publish sends the package " ++ "a project's ledger names, and ez init makes one"} case Some{text}: led.read(M.parse(text)) Uses (7): 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=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=parse https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/plan.bend&name=Led https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/plan.bend&name=led.read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/world.bend&name=toml