Plan.weighed.up: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/fetch/plan.bend as Plan Lines 443-449 of ezx@1.11.0.0/src/fetch/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&start_line=443&end_line=449 import Base import ezx@1.11.0.0/src/lock/up.bend as Up # what a checkout question was answered with, against the lock's narHash def weighed.up(answer: Up.Answer, +hash: String, +nar: String, +url: String, +rev: String) -> String: match answer: case Up.Cloned{+got, _fs}: nar.why(String.is_empty(nar), String.eq(got, nar), hash, nar, got, url, rev) case _: unweighed(hash) Uses (6): 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=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=nar.why https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/fetch/plan.bend&name=unweighed https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/up.bend&name=Answer