def answer.weigh

ezx@1.11.0.0 · src/lock/run.bend:377

import ezx@1.11.0.0/src/lock/run.bend as Run
import 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}

Uses (6)

Used by (1)