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

Method MarkDeleted

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

Marks a key as deleted and replicates the deletion.

(key string)

Source from the content-addressed store, hash-verified

23
24 // Marks a key as deleted and replicates the deletion.
25 MarkDeleted(key string)
26
27 // Marks a peer as dirty. Causes all keys to be replicated to the node. An error is returned if the peer doesn't
28 // exist.

Callers 2

RemoveMethod · 0.65
TestMarkDeletedFunction · 0.65

Implementers 3

noOpReplicatoronecache/replicator.go
replicatoronecache/replicator.go
mockReplicatoronecache/replicator_test.go

Calls

no outgoing calls

Tested by 1

TestMarkDeletedFunction · 0.52