You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Run `red --help` to see all available command line arguments.
38
38
-`RED_DELIMITER`: The delimiter used to group keys (default: `:`)
39
39
40
40
### Configuration file
41
-
A configuration file can be placed either in the directory where Red is executed, or in any higher-level directory, up to the user's home directory. Lower level configuration files take precedence over higher-level ones.
41
+
A configuration file can be placed either in the directory where Red is executed, or in any higher-level directory, up to your home directory. Lower level configuration files take precedence over higher-level ones.
Copy file name to clipboardExpand all lines: src/util/redis-get-grouped-keys.ts
+36-21Lines changed: 36 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -55,29 +55,44 @@ export class RedisUtils {
55
55
getChildGroups=async(params: {
56
56
depth: number;
57
57
}): Promise<KeyReturnType[]>=>{
58
+
// We essentally have to scan over all keys in order to find groups. Not just one extra level down, because a key existing 2 extra levels down does mean that the intermediate level is a group.
58
59
constgroups=newMap<string,KeyReturnType>();
59
-
// If we're looking for N levels deep groups, that means that the keys are N+1 levels deep
0 commit comments