Lock.hash.put: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 670-677 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=670&end_line=677 import Base import ezx@1.11.0.0/src/toml/toml.bend as T import ezx@1.11.0.0/src/pkg/pkg.bend as K # every hash a lock records, one per `[packages."".files]` table def hash.put(hit: Bool, sect: T.Sect, rest: List<&2, String>) -> List<&2, String>: match hit: case True{}: T.Sect{n, _ps} = sect K.word(T.segments(n), 1n) <> rest case False{}: rest Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=word https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=Sect https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=segments