def dep.of
import ezx@1.11.0.0/src/add/hub.bend as Hubimport Base
import ezx@1.11.0.0/src/add/world.bend as A
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/pkg/pkg.bend as K
247# the dependency recorded for a package the hub named by this hash
248def dep.of(+hash: String, +fs: List<&2, K.Item>, +world: A.World) -> M.Dep:
249 M.Dep{key(world), hash, entry(fs, world), M.Hub{nv(world)}}