refactor: tighten storage compat store_api aliases (#3582)

* refactor: collapse storage compat store_api modules

* chore: guard storage compat store_api aliases
This commit is contained in:
安正超
2026-06-18 22:50:02 +08:00
committed by GitHub
parent c28fee0013
commit 205f964dc5
10 changed files with 119 additions and 66 deletions
+2 -8
View File
@@ -12,11 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.
mod ecstore {
pub(super) mod store_api {
pub(crate) use rustfs_ecstore::store_api::{ObjectInfo, ObjectOptions};
}
}
pub(super) type IamObjectInfo = ecstore::store_api::ObjectInfo;
pub(super) type IamObjectOptions = ecstore::store_api::ObjectOptions;
pub(super) type IamObjectInfo = rustfs_ecstore::store_api::ObjectInfo;
pub(super) type IamObjectOptions = rustfs_ecstore::store_api::ObjectOptions;