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

Method BgRewriteAOF

commands.go:476–480  ·  view source on GitHub ↗

------------------------------------------------------------------------------

(ctx context.Context)

Source from the content-addressed store, hash-verified

474//------------------------------------------------------------------------------
475
476func (c cmdable) BgRewriteAOF(ctx context.Context) *StatusCmd {
477 cmd := NewStatusCmd(ctx, "bgrewriteaof")
478 _ = c(ctx, cmd)
479 return cmd
480}
481
482func (c cmdable) BgSave(ctx context.Context) *StatusCmd {
483 cmd := NewStatusCmd(ctx, "bgsave")

Callers

nothing calls this directly

Calls 1

NewStatusCmdFunction · 0.85

Tested by

no test coverage detected