def weigh

ezx@1.11.0.0 · src/lock/world.bend:177

import ezx@1.11.0.0/src/lock/world.bend as World
import 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)}

Uses (3)

Used by (1)