Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
opendal_list_options Struct Reference

Options for list operations. More...

#include <opendal.h>

Public Attributes

bool recursive
uintptr_t limit
char * start_after
bool versions
bool deleted

Detailed Description

Options for list operations.

Groups

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.

See also
opendal_operator_list_with
opendal_list_options_new
opendal_list_options_free
opendal_list_options_set_recursive
opendal_list_options_set_limit
opendal_list_options_set_start_after
opendal_list_options_set_versions
opendal_list_options_set_deleted

Member Data Documentation

◆ deleted

bool opendal_list_options::deleted

Include delete markers; default false.

Requires opendal_capability.list_with_deleted.

◆ limit

uintptr_t opendal_list_options::limit

Maximum results per request (backend hint) to control memory and throttling.

0 means unset.

◆ recursive

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.

◆ start_after

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.

◆ versions

bool opendal_list_options::versions

Include object versions; default false.

Requires opendal_capability.list_with_versions.


The documentation for this struct was generated from the following file: