def answer.weigh
import ezx@1.11.0.0/src/lock/run.bend as Runimport Base
import ezx@1.11.0.0/src/git/exec.bend as GX
import ezx@1.11.0.0/src/lock/up.bend as Up
377# a commit's NAR hash, for a tool
378def answer.weigh(+url: String, +rev: String) -> IO(Up.Answer):
379 do IO<Up.Answer>:
380 +nar : String <- GX.weigh(url, rev)
381 return Up.Weighed{nar}