Up.hash.kept: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/up.bend as Up Lines 568-574 of ezx@1.11.0.0/src/lock/up.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/up.bend&start_line=568&end_line=574 import Base # the hash a pinned commit's checkout has, by the rule the pin was taken by: # the walk's, or, for a pin written before bend 2.0.27 took the LICENSE files # along, the same checkout's without them. A pin that is neither is a drift, # and names the walk's hash. def hash.kept(+pin: String, +manifest: String) -> String: +full = hash.of(manifest) hash.kept.pick(String.eq(full, pin), pin, full, manifest) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/up.bend&name=hash.kept.pick https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/up.bend&name=hash.of