def member.same
ezx@1.11.0.0 · src/fetch/plan.bend:283
import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
283
284
285def member.same(
286 same: Bool,
287 +now: String,
288 wfs: List<&2, K.Source>,
289 fs: List<&2, K.Item>,
290 +path: String,
291 +hash: String
292) -> Part:
293 match same:
294 case True{}:
295 Got{cand(fs, "", wfs)}
296 case False{}:
297 No{"ez: workspace member " ++ path ++ " is " ++ now ++ " in the committed files, and the lock records " ++
298 hash ++ "; run ez lock"}