Run.tree.read: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/doctor/run.bend as Run Lines 38-44 of ezx@1.13.0.0/src/doctor/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/doctor/run.bend&start_line=38&end_line=44 import Base import ezx@1.13.0.0/src/lock/run.bend as Run import ezx@1.13.0.0/src/lock/lock.bend as L import ezx@1.13.0.0/src/doctor/world.bend as DW # a tree under BEND_LIB, as it is: its manifest and every file it names, read # from beside it. A file that is not there reads as "", which does not hash # to its sum. def tree.read(+dir: String, +manifest: String) -> IO(DW.Answer): do IO: ss : List<&2, String> <- Run.disk.all(dir, L.manifest.files(String.lines(manifest))) return DW.Laid{manifest, ss} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.lines https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/doctor/world.bend&name=Answer https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/lock/lock.bend&name=manifest.files https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/lock/run.bend&name=disk.all