World.git.weighed.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/world.bend as World Lines 277-285 of ezx@1.11.0.0/src/lock/world.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/world.bend&start_line=277&end_line=285 import Base import ezx@1.11.0.0/src/lock/lock.bend as L import ezx@1.11.0.0/src/hub/hub.bend as Web # a git package's bytes once its checkout was weighed. A tree read from # BEND_LIB is judged as a clone that weighed to the narHash the ledger # records, so the same bytes lock the same way whichever way they came. def git.weighed.go(same: Bool, +why: String, +hash: String, +manifest: String, +ss: List<&2, String>) -> Verdict: match same: case True{}: git.rule(Web.matches(L.want(hash), manifest), hash, manifest, ss) case False{}: No{why} Uses (7): 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/hub/hub.bend&name=matches https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=want https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Verdict https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=git.rule