type Ask
import ezx@1.11.0.0/src/fetch/world.bend as Worldimport Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/lock/up.bend as Up
31# a question about one package of the lock, or one name it records
32type Ask is Data:
33 Laid{hash: String} # the tree under BEND_LIB/<hash>, as its manifest names it
34 Git{hash: String, ask: Up.Ask} # a checkout at the pinned rev (`Up.Clone`)
35 Hub{ask: W.Ask} # the hub's manifest and every file it names (`W.Pkg`)
36 Named{nv: String} # the file BEND_LIB/names/<nv>, as it is
37 Tree{hash: String, entry: String} # the committed files, a member's package walked over them