|
Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
Options for list operations. More...
#include <opendal.h>
Public Attributes | |
| bool | recursive |
| uintptr_t | limit |
| char * | start_after |
| bool | versions |
| bool | deleted |
Options for list operations.
The operation fails with OPENDAL_UNSUPPORTED when an option requires a capability that the operator lacks.
Use opendal_list_options_new() to construct and opendal_list_options_free() to free.
A caller that declares the struct itself must initialize every member, for example with opendal_list_options opts = {0};, because a function that takes these options reads every member.
| bool opendal_list_options::deleted |
Include delete markers; default false.
Requires opendal_capability.list_with_deleted.
| uintptr_t opendal_list_options::limit |
Maximum results per request (backend hint) to control memory and throttling.
0 means unset.
| bool opendal_list_options::recursive |
Whether to list recursively under the prefix; default false.
Setting this option to true requires the operator's effective opendal_capability.list_with_recursive capability.
| char* opendal_list_options::start_after |
Start listing after this key, excluding the key itself.
Setting this requires opendal_capability.list_with_start_after.
NULL means unset. opendal_list_options_set_start_after() stores a copy of the string, and opendal_list_options_free() frees it.
| bool opendal_list_options::versions |
Include object versions; default false.
Requires opendal_capability.list_with_versions.