Plan.read.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/remove/plan.bend as Plan Lines 37-45 of ezx@1.11.0.0/src/remove/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/remove/plan.bend&start_line=37&end_line=45 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the ledger as read: what the file says, or, with no file, a read that did # not parse and says why. A missing ledger is not an empty one to write back. def read.of(got: Maybe<&2, String>) -> M.Read: match got: case None{}: M.Bad{"no " ++ toml() ++ " here; ez remove works on a project's " ++ "ledger, and ez init makes one"} case Some{text}: M.parse(text) Uses (6): 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=Read 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/remove/plan.bend&name=toml