def locked.hashes
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport Base
191# the packages a lock records; none when it did not read or is not there
192def locked.hashes(lk: Locked) -> List<&2, String>:
193 match lk:
194 case Locked{hs}:
195 hs
196 case Unread{_why}:
197 []
198 case Unlocked{}:
199 []