def weighed

ezx@1.11.0.0 · src/fetch/plan.bend:479

import ezx@1.11.0.0/src/fetch/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T
import ezx@1.11.0.0/src/fetch/world.bend as F
import ezx@1.11.0.0/src/lock/lock.bend as L

479# why the checkout a package of the lock was fetched as may not be laid, ""
480# when it may. A hub package has no checkout. A git package's checkout, the
481# one its fetch question was answered with, must weigh to the narHash the
482# lock records, so what is laid comes from the tree the lock pins and not
483# only from files that happen to match their sums.
484def weighed(+ss: List<&2, T.Sect>, +rs: List<&2, F.Reply>, +here: String, +hash: String) -> String:
485  weighed.src(L.pack.src(L.pack_of(ss, hash)), rs, here, hash)

Uses (7)

Used by (2)