def roots.named
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/world.bend as W
220# every name the committed sources import. Each must be one ez.toml records
221# a dependency by.
222def roots.named(fs: List<&2, W.Source>) -> List<&2, String>:
223 match fs:
224 case []:
225 []
226 case +h <> t:
227 List.append(&2, String, roots.named.one(h), roots.named(t))