forked from flux-framework/flux-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kvs_get_dirat(), which is like kvs_get_dir() but looks up key relative to a snapshot reference. The snapshot reference is stored in the returned kvsdir_t object, and is then used in subsequent kvsdir_get_*() operations on that object. It is thus possible to recursively walk a snapshot of a section of the namespace by starting with kvs_get_dirat() and looking up subdirectories with kvsdir_get_dir(). Fixes flux-framework#64.
- Loading branch information
Showing
2 changed files
with
135 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters