def hit.sum

ezx@1.11.0.0 · src/pkg/pkg.bend:1077

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import 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)}

Uses (3)

Used by (1)