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

Method PurgeDeletes

jetstream/kv.go:203–203  ·  view source on GitHub ↗

PurgeDeletes will remove all current delete markers. It can be configured using DeleteMarkersOlderThan option to only remove delete markers older than a certain duration. [PurgeDeletes] is a destructive operation and will remove all entries with delete markers from the underlying stream.

(ctx context.Context, opts ...KVPurgeOpt)

Source from the content-addressed store, hash-verified

201 // [PurgeDeletes] is a destructive operation and will remove all entries
202 // with delete markers from the underlying stream.
203 PurgeDeletes(ctx context.Context, opts ...KVPurgeOpt) error
204
205 // Status retrieves the status and configuration of a bucket.
206 Status(ctx context.Context) (KeyValueStatus, error)

Implementers 1

kvsjetstream/kv.go

Calls

no outgoing calls