def hit.sum
import ezx@1.11.0.0/src/pkg/pkg.bend as Pkgimport Base
import ezx@1.11.0.0/src/share/sha.bend as Sha
1077# a found file weighed: its name and the sha256 of its text
1078def hit.sum(item: Hit) -> Found:
1079 Hit{raw, +text} = item
1080 Found{raw, Sha.hex(text)}