def set
import ezx@1.11.0.0/src/lock/up.bend as Upimport Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
864# a tool's pin with a commit, a tag and a NAR hash written in
865def set(tool: M.Tool, +rev: String, +tag: String, +nar: String) -> M.Tool:
866 M.Tool{n, e, b, s} = tool
867 set.go(n, e, b, s, rev, tag, nar)