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

Method BitOpDiff

bitmap_commands.go:107–109  ·  view source on GitHub ↗

BitOpDiff creates a new bitmap in which users are members of bitmap X but not of any of bitmaps Y1, Y2, … Introduced with Redis 8.2

(ctx context.Context, destKey string, keys ...string)

Source from the content-addressed store, hash-verified

105// BitOpDiff creates a new bitmap in which users are members of bitmap X but not of any of bitmaps Y1, Y2, …
106// Introduced with Redis 8.2
107func (c cmdable) BitOpDiff(ctx context.Context, destKey string, keys ...string) *IntCmd {
108 return c.bitOp(ctx, "diff", destKey, keys...)
109}
110
111// BitOpDiff1 creates a new bitmap in which users are members of one or more of bitmaps Y1, Y2, … but not members of bitmap X
112// Introduced with Redis 8.2

Callers

nothing calls this directly

Calls 1

bitOpMethod · 0.95

Tested by

no test coverage detected