def imports
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/plan.bend as P
import ezx@1.11.0.0/src/lock/world.bend as W
406# every hub package the project's sources import, each once, by hash and by
407# name. These are the lock's roots: the header imports of every tracked
408# `.bend` file outside `.ez/`, as the package walk scans them.
409def imports(+fs: List<&2, W.Source>) -> List<&2, String>:
410 once(List.append(&2, String, P.roots(fs), P.roots.named(fs)))