Xuanwo opened a new pull request, #9349: URL: https://github.com/apache/opendal/pull/9349
# Which issue does this PR close? Refs #9334 # Rationale for this change The Go documentation for `WithListFn` refers to `crate::ErrorKind::Unsupported`, a Rust error kind. Go callers need the code they can check when a list option requires a capability their operator lacks. # What changes are included in this PR? Update the Go type-comment renderer, regenerate the `WithListFn` comment, and extend the existing generator test to check the Go error reference. # Are there any user-facing changes? `go doc WithListFn` now explains that `List` returns a `*Error` whose `Code()` reports `CodeUnsupported` in this case. Only the Go documentation changes. # Breaking changes # AI Usage Statement - Pi, `magpie/codex/gpt-6.2-sol`, `thinking=max` implemented and validated the change. An independent reviewer using the same configuration reviewed the signed commit and verified generation and Go caller behavior. - Pi, `magpie/codex/gpt-6.2-astra`, `thinking=xhigh` assisted with issue triage and scoped the change to Go documentation. - Pi, `magpie/codex/gpt-6.2-astra`, `thinking=high` drafted the PR title and description. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
