You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/07/24 06:14:02 UTC

[incubator-opendal] 01/09: Cleanup use

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch oio-reorg
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 78e4125849dbbba8173aebe14e6e64773868d36d
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Jul 24 11:44:48 2023 +0800

    Cleanup use
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 core/src/raw/mod.rs | 21 +++++----------------
 1 file changed, 5 insertions(+), 16 deletions(-)

diff --git a/core/src/raw/mod.rs b/core/src/raw/mod.rs
index e7c2bbcfc..34638b9ff 100644
--- a/core/src/raw/mod.rs
+++ b/core/src/raw/mod.rs
@@ -27,28 +27,16 @@
 //!   them whenever possible.
 
 mod accessor;
-pub use accessor::Accessor;
-pub use accessor::AccessorInfo;
-pub use accessor::FusedAccessor;
+pub use accessor::*;
 
 mod layer;
-pub use layer::Layer;
-pub use layer::LayeredAccessor;
-
-pub mod oio;
+pub use layer::*;
 
 mod path;
-pub use path::build_abs_path;
-pub use path::build_rel_path;
-pub use path::build_rooted_abs_path;
-pub use path::get_basename;
-pub use path::get_parent;
-pub use path::normalize_path;
-pub use path::normalize_root;
-pub use path::validate_path;
+pub use path::*;
 
 mod operation;
-pub use operation::Operation;
+pub use operation::*;
 
 mod version;
 pub use version::VERSION;
@@ -70,3 +58,4 @@ pub use chrono_util::*;
 
 // Expose as a pub mod to avoid confusing.
 pub mod adapters;
+pub mod oio;