def place.of
import ezx@1.11.0.0/src/add/hub.bend as Hubimport Base
import ezx@1.11.0.0/src/lock/plan.bend as P
275# where the tree is laid: under `.ez/lib` when the entry it replaces is
276# vendored, under BEND_LIB otherwise. A hub dependency is never vendored, so
277# a name the ledger already records is laid under BEND_LIB like a new one.
278def place.of(vend: Bool) -> P.Place:
279 match vend:
280 case True{}:
281 P.Committed{}
282 case False{}:
283 P.Cache{}