MCPcopy Create free account
hub / github.com/dadgar/onecache / noOpReplicator

Struct noOpReplicator

onecache/replicator.go:36–36  ·  view source on GitHub ↗

noOpReplicator is to be used when the node is running singularly and is not part of a cluster.

Source from the content-addressed store, hash-verified

34
35// noOpReplicator is to be used when the node is running singularly and is not part of a cluster.
36type noOpReplicator struct{}
37
38func (nop *noOpReplicator) Stop() {}
39func (nop *noOpReplicator) IsReplicating(key string) bool { return false }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected