def key

ezx@1.11.0.0 · src/fetch/plan.bend:131

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/path.bend as Path

131# where a path of the lock is in a tree: under its root inside a checkout,
132# and as it is in a tree a manifest names
133def key(+root: String, +at: String) -> String:
134  Bool.pick(String, String.is_empty(root), at, Path.join(root, at))

Uses (4)

Used by (1)