MCPcopy Index your code
hub / github.com/coder/coder / Compare

Function Compare

coderd/provisionerkey/provisionerkey.go:50–52  ·  view source on GitHub ↗
(a []byte, b []byte)

Source from the content-addressed store, hash-verified

48}
49
50func Compare(a []byte, b []byte) bool {
51 return subtle.ConstantTimeCompare(a, b) != 1
52}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected