def part.tree
import ezx@1.11.0.0/src/fetch/plan.bend as Planimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
259# the files that arrived for a package, or why none did
260def part.tree(tree: Tree, fs: List<&2, K.Item>) -> Part:
261 match tree:
262 case Tree{r, files}:
263 Got{cand(fs, r, files)}
264 case Gone{why}:
265 No{why}