Hub.decide.read: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/hub.bend as Hub Lines 172-180 of ezx@1.11.0.0/src/add/hub.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/hub.bend&start_line=172&end_line=180 import Base import ezx@1.11.0.0/src/add/world.bend as A import ezx@1.11.0.0/src/ledger/manifest.bend as M # no ledger, or one that does not parse, is refused before anything else, # with the reason every command that edits a ledger gives def decide.read(read: M.Read, +world: A.World) -> Verdict: match read: case M.Bad{why}: Stop{"ez: " ++ M.show(M.Bad{why})} case M.Good{_m}: +e = early(world) decide.early(String.is_empty(e), e, world) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=Verdict https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=decide.early https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/hub.bend&name=early https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/add/world.bend&name=World 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=show