You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2026/06/16 15:53:38 UTC

[PR] refactor(core): remove unused AtomicContentLength util [opendal]

Xuanwo opened a new pull request, #7773:
URL: https://github.com/apache/opendal/pull/7773

   # Which issue does this PR close?
   
   N/A — small dead-code cleanup.
   
   # Rationale for this change
   
   `AtomicContentLength` (`raw::atomic_util`) has no remaining callers after
   the native blocking APIs were removed. It was still compiled and
   re-exported from `raw` on every build, adding dead surface to the core
   crate. A repo-wide search (core, services, layers, bindings, integrations)
   finds zero references outside the module itself.
   
   # What changes are included in this PR?
   
   - Remove `core/core/src/raw/atomic_util.rs`.
   - Drop its `mod atomic_util;` / `pub use atomic_util::*;` from `raw/mod.rs`.
   
   # Are there any user-facing changes?
   
   `AtomicContentLength` was `pub use`-exported from the `raw` module, so this
   technically removes a public item from `raw`. The `raw` module is the
   unstable internal API surface and the type has no users, so the practical
   impact is none. Tag with `breaking-changes` if you prefer to track raw-API
   removals strictly.
   
   # AI Usage Statement
   
   Authored with Claude Code (Claude Opus 4.8). All changes were reviewed by a
   maintainer before submission.
   


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor(core)!: remove unused AtomicContentLength util [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #7773:
URL: https://github.com/apache/opendal/pull/7773


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org