def hash.kept.or

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

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

552# the bare checkout's hash when it is the pin's, and the walk's otherwise
553def hash.kept.or(same: Bool, +bare: String, +full: String) -> String:
554  match same:
555    case True{}:
556      bare
557    case False{}:
558      full

Uses (2)

Used by (1)