def weigh
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
import ezx@1.11.0.0/src/share/sha.bend as Sha
149# a file laid, weighed by its own text
150def weigh(src: W.Source) -> K.Item:
151 W.Source{at, +text} = src
152 K.Item{at, Sha.hex(text)}