MCPcopy
hub / github.com/moonD4rk/HackBrowserData / recordingRetriever

Struct recordingRetriever

masterkey/masterkeys_test.go:14–20  ·  view source on GitHub ↗

recordingRetriever captures call count and arguments so tests can verify each tier's retriever is invoked exactly once with the expected hints.

Source from the content-addressed store, hash-verified

12// recordingRetriever captures call count and arguments so tests can verify each tier's retriever
13// is invoked exactly once with the expected hints.
14type recordingRetriever struct {
15 key []byte
16 err error
17
18 calls int
19 gotHints Hints
20}
21
22func (r *recordingRetriever) RetrieveKey(hints Hints) ([]byte, error) {
23 r.calls++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected