def asks

ezx@1.11.0.0 · src/relock/relock.bend:76

import ezx@1.11.0.0/src/relock/relock.bend as Relock
import 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

76# what the lock still asks, as one list: the packages, then the names. A
77# plain lock asks the upgrade nothing.
78def asks(st: P.Step) -> List<&2, W.Ask>:
79  match st:
80    case P.Asking{as, _ups, ns}:
81      List.append(&2, W.Ask, as, ns)
82    case P.Run{_pl}:
83      []

Uses (4)

Used by (4)