def seeds.of

ezx@1.11.0.0 · src/add/relock.bend:80

import ezx@1.11.0.0/src/add/relock.bend as Relock
import Base
import ezx@1.11.0.0/src/add/world.bend as A
import ezx@1.11.0.0/src/add/plan.bend as AP
import ezx@1.11.0.0/src/lock/world.bend as W

80# the answers the add already has for the lock: a hub package's are those the
81# hub gave the add, and a git package's is the package its walk made
82def seeds.of(named: Bool, +aw: A.World) -> List<&2, W.Reply>:
83  match named:
84    case True{}:
85      A.hubs(aw)
86    case False{}:
87      seed.of(AP.walked(aw))

Uses (7)

Used by (1)