def roots.named.one

ezx@1.11.0.0 · src/lock/plan.bend:214

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/lock/lock.bend as L
import ezx@1.11.0.0/src/pkg/pkg.bend as K

214# every name one committed source imports, outside `.ez/`
215def roots.named.one(+src: W.Source) -> List<&2, String>:
216  W.Source{at, text} = src
217  Bool.pick(List<&2, String>, String.starts_with(at, ".ez/"), [],
218    L.named(K.scan.mods(K.scan(text))))

Uses (8)

Used by (1)