MCPcopy
hub / github.com/nats-io/nats.go / Purge

Method Purge

kv.go:796–798  ·  view source on GitHub ↗

Purge will remove the key and all revisions.

(key string, opts ...DeleteOpt)

Source from the content-addressed store, hash-verified

794
795// Purge will remove the key and all revisions.
796func (kv *kvs) Purge(key string, opts ...DeleteOpt) error {
797 return kv.Delete(key, append(opts, purge())...)
798}
799
800const kvDefaultPurgeDeletesMarkerThreshold = 30 * time.Minute
801

Callers

nothing calls this directly

Calls 2

DeleteMethod · 0.95
purgeFunction · 0.70

Tested by

no test coverage detected