MCPcopy
hub / github.com/redis/go-redis / record

Method record

tx_unwatch_test.go:24–28  ·  view source on GitHub ↗
(names ...string)

Source from the content-addressed store, hash-verified

22}
23
24func (h *cmdRecorder) record(names ...string) {
25 h.mu.Lock()
26 defer h.mu.Unlock()
27 h.sent = append(h.sent, names...)
28}
29
30func (h *cmdRecorder) has(name string) bool {
31 return h.count(name) > 0

Callers 2

ProcessHookMethod · 0.95
ProcessPipelineHookMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected