def place.of
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/plan.bend as P
485# where the tree is laid: under `.ez/lib`, committed, when the entry it
486# replaces is vendored, since the re-added entry keeps that bit; under
487# BEND_LIB otherwise
488def place.of(vend: Bool) -> P.Place:
489 match vend:
490 case True{}:
491 P.Committed{}
492 case False{}:
493 P.Cache{}