Pkg.made.anc: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 1213-1222 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=1213&end_line=1222 import Base import ezx@1.11.0.0/src/pkg/path.bend as P # a package that climbs re-roots under as many of the entry directory's # trailing components as its deepest climb. The walk refuses an import that # climbs out of the checkout, so there are always that many; a package that # still climbs further is refused rather than named after nothing. def made.anc(far: Bool, +levels: Nat, +dir: String, +out: List<&2, Hit>) -> Walked: match far: case True{}: Refused{"ez: the package climbs out of the checkout"} case False{}: made.checked(P.climb(levels, dir), P.tail(dir, levels), out) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=climb https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=tail https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Hit 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=made.checked