Skip to content

feat(operator.go): use c binding check#7724

Open
FrankYang0529 wants to merge 1 commit into
apache:mainfrom
FrankYang0529:minor-go-check
Open

feat(operator.go): use c binding check#7724
FrankYang0529 wants to merge 1 commit into
apache:mainfrom
FrankYang0529:minor-go-check

Conversation

@FrankYang0529

Copy link
Copy Markdown
Member

Which issue does this PR close?

N/A

Rationale for this change

This PR wires Go's Check() to the native function, removing the duplicated logic and matching the behavior of the other bindings.

What changes are included in this PR?

  • Add an FFI binding ffiOperatorCheck for opendal_operator_check.
  • Refactor Operator.Check() as a thin wrapper over the native call and move it from lister.go to operator.go, since it is no longer list-related.

Are there any user-facing changes?

N/A

AI Usage Statement

Claude Code with Opus 4.8

…or_check

Signed-off-by: PoAn Yang <payang@apache.org>
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 10, 2026
@dentiny dentiny requested a review from yuchanns June 10, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants