Pkg.made.io: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 1316-1325 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=1316&end_line=1325 import Base import ezx@1.11.0.0/src/pkg/path.bend as P # a walk's verdict as a package, with its root taken back under the checkout # it was read from def made.io(+top: String, got: Walked) -> IO(Pkg): match got: case Walked{hash, root, _files, sums}: IO.pure(Pkg, Pkg{hash, P.join(top, root), files_of(sums)}) case Asks{at}: IO.die(Pkg, 1, "ez: the walk asked for " ++ at ++ " after it was answered") case Refused{why}: IO.die(Pkg, 1, why) 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.die https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure 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/pkg/path.bend&name=join https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Pkg https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Walked https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=files_of