Skip to content

add KeyFlags::ACCESS_TRIMMED flag - #468

Merged
kei-nan merged 1 commit into
masterfrom
push-kzuurrzuptqw
May 19, 2026
Merged

add KeyFlags::ACCESS_TRIMMED flag#468
kei-nan merged 1 commit into
masterfrom
push-kzuurrzuptqw

Conversation

@JonasKruckenberg

Copy link
Copy Markdown
Collaborator

adds bindings to the REDISMODULE_OPEN_KEY_ACCESS_TRIMMED flag

@kei-nan
kei-nan merged commit f74ecbb into master May 19, 2026
8 of 9 checks passed
@kei-nan
kei-nan deleted the push-kzuurrzuptqw branch May 19, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Rust binding for the REDISMODULE_OPEN_KEY_ACCESS_TRIMMED Redis module flag, exposing it as KeyFlags::ACCESS_TRIMMED alongside the existing key open flags.

Changes:

  • New ACCESS_TRIMMED constant in the KeyFlags bitflags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/key.rs
const NOEFFECTS = REDISMODULE_OPEN_KEY_NOEFFECTS as c_int;
/// Access lazy expire fields
const ACCESS_EXPIRED = REDISMODULE_OPEN_KEY_ACCESS_EXPIRED as c_int;
/// Allow access to a trimmed key that hasent't been deleted yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants