Pkg.laid.sum: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 1103-1107 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=1103&end_line=1107 import Base import ezx@1.11.0.0/src/share/sha.bend as Sha # a laid file weighed: its path and the sha256 of its text. This is what a # plan's reader would compute from the files a `Lay` writes. def laid.sum(src: Source) -> Item: Source{at, +text} = src Item{at, Sha.hex(text)} Uses (3): https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Item https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/sha.bend&name=hex