docs: def resource_md5(self, resource):
          """Return the stored MD5 sum for a particular named resource."""
          if not(resource in self.contents['md5']):
              raise ValueError("No such resource %r in refpkg" % (resource,))
          return self.contents['md5'][resource]