feat(lister.go): Add opendal_list_options_set_limit and opendal_list_options_set_start_after#7649
Merged
Merged
Conversation
…options_set_start_after Signed-off-by: PoAn Yang <payang@apache.org>
dentiny
approved these changes
May 31, 2026
yuchanns
approved these changes
May 31, 2026
…set_start_after Signed-off-by: PoAn Yang <payang@apache.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Which issue does this PR close?
Closes #7633
Rationale for this change
The Go binding's
Listoperation lacked support forlimitandstart_afteroptions that are already available in the core Rust library. These options allow callers to paginate results and resume listing from a known position.What changes are included in this PR?
C binding (
bindings/c)limit(uintptr_t) andstart_after(char *) fields toopendal_list_optionsopendal_list_options_set_limitandopendal_list_options_set_start_afterC functionsGo binding (
bindings/go)ListWithLimit(limit uint)andListWithStartAfter(startAfter string)option functionslistOptionsstruct with the two new fieldsffiListOptionsSetLimit,ffiListOptionsSetStartAfter) intoOperator.ListAre there any user-facing changes?
Two new
WithListFnoption functions are added to the Go binding's public API:AI Usage Statement
OpenCode with claude-sonnet-4.6