Select Git revision
.gitignore
-
Dan Fuchs authored
* Avoid using KEYS. * Check single keys, or patterns with `SCAN` Continues the work that @Tinche did in #149. * Add an arg, `check-single-keys` to get size and value with `TYPE` * Modify the behavior of `check-keys` * Get keys from globs with `SCAN` rather than `KEYS` * If a key doesn't have any glob characters in it, just add it to the list of things to check with `TYPE` I added an argument rather than decide `SCAN` vs `TYPE` based on the presence of glob characters because, technically, redis key names can contain glob characters, according to https://redis.io/topics/data-types-intro: Redis keys are binary safe, this means that you can use any binary sequence as a key, from a string like "foo" to the content of a JPEG file. The empty string is also a valid key. The only way to be able to check for key names with glob characters in them is by being able to explicitly specify keys that you don't want to glob for.
Dan Fuchs authored* Avoid using KEYS. * Check single keys, or patterns with `SCAN` Continues the work that @Tinche did in #149. * Add an arg, `check-single-keys` to get size and value with `TYPE` * Modify the behavior of `check-keys` * Get keys from globs with `SCAN` rather than `KEYS` * If a key doesn't have any glob characters in it, just add it to the list of things to check with `TYPE` I added an argument rather than decide `SCAN` vs `TYPE` based on the presence of glob characters because, technically, redis key names can contain glob characters, according to https://redis.io/topics/data-types-intro: Redis keys are binary safe, this means that you can use any binary sequence as a key, from a string like "foo" to the content of a JPEG file. The empty string is also a valid key. The only way to be able to check for key names with glob characters in them is by being able to explicitly specify keys that you don't want to glob for.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.