def weigh
import ezx@1.11.0.0/src/lock/world.bend as Worldimport Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K
import ezx@1.11.0.0/src/share/sha.bend as Sha
177# a laid file weighed by its own text
178def weigh(src: Source) -> K.Item:
179 Source{at, +text} = src
180 K.Item{at, Sha.hex(text)}