def asks
import ezx@1.11.0.0/src/ws/root.bend as Rootimport Base
49# the directories whose ez.toml is read: where ez runs, then each directory
50# above it in turn, ending at the top of the checkout
51def asks(here: List<&2, String>) -> List<&2, Ask>:
52 match here:
53 case []:
54 [Ask{[], []}]
55 case +hd <> +tl:
56 List.append(&2, Ask, asks.under(hd, asks(tl)), [Ask{[], hd <> tl}])