refactor: prune storage compatibility re-export allowances (#3579)

* refactor: prune storage compatibility re-export allowances

* fix: reject whitespace-padded dot path segments
This commit is contained in:
安正超
2026-06-18 21:14:24 +08:00
committed by GitHub
parent f3fcdd4ba2
commit 7b0cb9e725
16 changed files with 70 additions and 62 deletions
-2
View File
@@ -13,8 +13,6 @@
// limitations under the License.
pub(crate) mod ecstore {
#![allow(unused_imports)]
pub(crate) use rustfs_ecstore::{
bucket, client, config, data_usage, disk, endpoints, error, global, metrics_realtime, notification_sys, rebalance, rpc,
store, store_utils, tier,
-2
View File
@@ -13,8 +13,6 @@
// limitations under the License.
pub(crate) mod ecstore {
#![allow(unused_imports)]
pub(crate) use rustfs_ecstore::{
admin_server_info, bucket, client, compress, config, data_usage, disk, endpoints, error, global, new_object_layer_fn,
notification_sys, pools, rio, set_disk, set_object_store_resolver, store, tier,
+4 -3
View File
@@ -13,10 +13,11 @@
// limitations under the License.
pub(crate) mod ecstore {
#![allow(unused_imports)]
pub(crate) use rustfs_ecstore::{
admin_server_info, bucket, client, config, disk, error, get_global_lock_client, global, metrics_realtime,
admin_server_info, bucket, client, disk, error, get_global_lock_client, global, metrics_realtime,
resolve_object_store_handle, rio, rpc, set_disk, store, store_api,
};
#[cfg(test)]
pub(crate) use rustfs_ecstore::config;
}
+5 -4
View File
@@ -13,10 +13,11 @@
// limitations under the License.
pub(crate) mod ecstore {
#![allow(unused_imports)]
pub(crate) use rustfs_ecstore::{
bucket, config, data_usage, disk, disks_layout, endpoints, error, event_notification, global, notification_sys, pools,
resolve_object_store_handle, rpc, set_disk, set_global_endpoints, store, update_erasure_type,
bucket, config, disk, endpoints, error, event_notification, global, notification_sys, resolve_object_store_handle, rpc,
set_disk, set_global_endpoints, store, update_erasure_type,
};
#[cfg(test)]
pub(crate) use rustfs_ecstore::disks_layout;
}