def bad.why
ezx@1.11.0.0 · src/fetch/plan.bend:237
import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/world.bend as W
import ezx@1.11.0.0/src/pkg/pkg.bend as K
237
238def bad.why(fs: List<&2, K.Item>, +hash: String, +ls: List<&2, W.Source>) -> String:
239 +at = unfit(fs, ls)
240 Bool.pick(String, String.is_empty(at),
241 Bool.pick(String, paths.safe(ls),
242 "ez: " ++ hash ++ ": its files do not hash to its name",
243 "ez: " ++ hash ++ ": a path in the lock leaves the package"),
244 "ez: " ++ hash ++ ": " ++ at ++ " does not match the lock")