def made.judge
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
1130# the found files named, once no path escapes the package
1131def made.judge(
1132 ok: Bool,
1133 +bad: String,
1134 +root: String,
1135 +pre: String,
1136 +fs: List<&2, Item>,
1137 out: List<&2, Hit>
1138) -> Walked:
1139 match ok:
1140 case True{}:
1141 Walked{hash_of(fs), root, laid(pre, out), fs}
1142 case False{}:
1143 Refused{"ez: " ++ bad ++ " escapes the package"}