def judge.got
import ezx@1.11.0.0/src/fetch/plan.bend as Planimport 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
676# the files that arrived, laid when they pass
677def judge.got(ok: Bool, fs: List<&2, K.Item>, +hash: String, +ls: List<&2, W.Source>) -> Verdict:
678 match ok:
679 case True{}:
680 Put{hash, ls}
681 case False{}:
682 Stop{bad.why(fs, hash, ls)}