Subpath filtering in path-keyed store #32
thorwhalen
started this conversation in
Ideas
Replies: 2 comments
-
In _prefix_filtering, the line |
Beta Was this translation helpful? Give feedback.
0 replies
-
Example of an implementation (well, the tests of the implementation) of this for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A good proportion of our stores have "path keys"...
What ever the case, subpaths always can represent a subgroup of keys (that start with that subpath), and often we'd like to have something that ressembles "show me only files/subfolders of some folder kind of functionality, like:
Here's some util/helper code to start with (only applies to string paths, but not necessarily ones that represent files and folders).
Note, though, that we can easily generalize to any type of paths by generalizing the "str.startswith" etc.
Possibly relevant resources
Beta Was this translation helpful? Give feedback.
All reactions