def asks
import ezx@1.11.0.0/src/relock/relock.bend as Relockimport 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 []