def roots.one

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

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

197# every hub package one committed source imports. The committed trees under
198# `.ez/` are packages, not the project's own sources.
199def roots.one(+src: W.Source) -> List<&2, String>:
200  W.Source{at, text} = src
201  Bool.pick(List<&2, String>, String.starts_with(at, ".ez/"), [],
202    L.specs(K.scan.mods(K.scan(text))))

Uses (8)

Used by (1)