def files.of
import ezx@1.11.0.0/src/fetch/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/pkg/pkg.bend as K
275# the committed files a listing names, as the walk takes them
276def files.of(ls: List<&2, W.Source>) -> List<&2, K.Source>:
277 match ls:
278 case []:
279 []
280 case W.Source{at, text} <> tl:
281 K.Source{at, text} <> files.of(tl)