MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / BuildHash

Method BuildHash

types/response_type.go:84–87  ·  view source on GitHub ↗

BuildHash computes the hash of the response header.

()

Source from the content-addressed store, hash-verified

82
83// BuildHash computes the hash of the response header.
84func (sh *SignedResponseHeader) BuildHash() (err error) {
85 return errors.Wrap(buildHash(&sh.ResponseHeader, &sh.ResponseHash),
86 "compute response header hash failed")
87}
88
89// Response defines a complete query response.
90type Response struct {

Callers

nothing calls this directly

Calls 1

buildHashFunction · 0.85

Tested by

no test coverage detected