def tip.of

ezx@1.11.0.0 · src/add/plan.bend:197

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/add/world.bend as A

197# a 40-hex ref is the commit, and asks the remote nothing
198def tip.of(rev: Bool, empty: Bool, +world: A.World) -> Tip:
199  match rev:
200    case True{}:
201      At{A.ref(world)}
202    case False{}:
203      tip.named(empty, world)

Uses (5)

Used by (1)