MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / NewVerifier

Function NewVerifier

cmd/test-streammanager/verifier.go:18–23  ·  view source on GitHub ↗
(totalBytes int64)

Source from the content-addressed store, hash-verified

16}
17
18func NewVerifier(totalBytes int64) *Verifier {
19 return &Verifier{
20 expectedGen: NewTestDataGenerator(totalBytes),
21 firstMismatch: -1,
22 }
23}
24
25func (v *Verifier) Write(p []byte) (n int, err error) {
26 v.lock.Lock()

Callers 1

runTestFunction · 0.85

Calls 1

NewTestDataGeneratorFunction · 0.85

Tested by

no test coverage detected