feat(c_interface): Add object iteration and info functions #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit introduces new C interface functions for iterating over objects and retrieving object information within the betree object store.
obj_iter_tas an opaque struct for object iterators.betree_free_obj_iterto free the object iterator.betree_object_iter_allto create an iterator over all objects.betree_object_iter_nextto advance the iterator and retrieve the next object's key.betree_object_store_list_prefixfor iterating over objects with a specific prefix.betree_object_info_tstruct for object status information.betree_object_infoto retrieve object size and modification time.betree_free_object_infoto free the object info struct.betree_object_statusandbetree_object_mtime_usfunctions.