def tool.ref

ezx@1.11.0.0 · src/lock/up.bend:945

import ezx@1.11.0.0/src/lock/up.bend as Up
import Base

945# the ref to resolve: the tag the ledger named, or the default ref
946def tool.ref(no_tag: Bool, +rs: List<&2, Reply>, +url: String, +tag: String) -> Named:
947  match no_tag:
948    case False{}:
949      Named{tag}
950    case True{}:
951      tool.default(rs, url)

Uses (6)

Used by (1)