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

Function qHash

crypto/etls/conn_test.go:71–73  ·  view source on GitHub ↗
(q *QueryComplex)

Source from the content-addressed store, hash-verified

69}
70
71func qHash(q *QueryComplex) string {
72 return string(hash.THashB([]byte(strings.Join(q.DataS.Strs, ""))))
73}
74
75func (f *FooComplex) Bar(args *QueryComplex, res *ResultComplex) error {
76 res.Count = len(args.DataS.Strs)

Callers 2

BarMethod · 0.85
TestComplexRPCFunction · 0.85

Calls 1

THashBFunction · 0.92

Tested by

no test coverage detected