def place

ezx@1.11.0.0 · src/lock/run.bend:609

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/lock/plan.bend as Plan

609# where a place is
610def place(+lib: String, pl: Plan.Place) -> String:
611  match pl:
612    case Plan.Committed{}:
613      ".ez/lib"
614    case Plan.Cache{}:
615      lib
616    case Plan.Under{dir}:
617      dir ++ "/.ez/lib"

Uses (3)

Used by (1)