def judge.hash
import ezx@1.11.0.0/src/hub/hub.bend as Hubimport 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"}