def judge.hash

ezx@1.11.0.0 · src/hub/hub.bend:38

import ezx@1.11.0.0/src/hub/hub.bend as Hub
import Base

38# the digest's verdict on a body that did arrive
39def judge.hash(good: Bool, url: String, body: String) -> Got:
40  match good:
41    case True{}:
42      Have{body}
43    case False{}:
44      Miss{url ++ " does not hash to what was asked for"}

Uses (4)

Used by (1)