This is an automated email from the ASF dual-hosted git repository. xuanwo pushed a commit to branch polish-buffer in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 76185deb8dd0ca71c700f806b20a8e865166aa03 Author: Xuanwo <[email protected]> AuthorDate: Tue Sep 12 13:56:17 2023 +0800 Rename to buf Signed-off-by: Xuanwo <[email protected]> --- core/src/raw/oio/{ => buf}/mod.rs | 26 -------------------------- core/src/raw/oio/{ => buf}/write_buf.rs | 0 core/src/raw/oio/mod.rs | 4 ++-- 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/core/src/raw/oio/mod.rs b/core/src/raw/oio/buf/mod.rs similarity index 63% copy from core/src/raw/oio/mod.rs copy to core/src/raw/oio/buf/mod.rs index f965608b5..c26894768 100644 --- a/core/src/raw/oio/mod.rs +++ b/core/src/raw/oio/buf/mod.rs @@ -15,31 +15,5 @@ // specific language governing permissions and limitations // under the License. -//! `oio` provides OpenDAL's raw traits and types that opendal returns as -//! output. -//! -//! Those types should only be used internally and we don't want users to -//! depend on them. So we should also implement trait like `AsyncRead` for -//! our `output` traits. - -mod read; -pub use read::*; - -mod write; -pub use write::*; - -mod stream; -pub use stream::*; - -mod page; -pub use page::*; - -mod cursor; -pub use cursor::ChunkedCursor; -pub use cursor::Cursor; - -mod entry; -pub use entry::Entry; - mod write_buf; pub use write_buf::WriteBuf; diff --git a/core/src/raw/oio/write_buf.rs b/core/src/raw/oio/buf/write_buf.rs similarity index 100% rename from core/src/raw/oio/write_buf.rs rename to core/src/raw/oio/buf/write_buf.rs diff --git a/core/src/raw/oio/mod.rs b/core/src/raw/oio/mod.rs index f965608b5..bffc70ca2 100644 --- a/core/src/raw/oio/mod.rs +++ b/core/src/raw/oio/mod.rs @@ -41,5 +41,5 @@ pub use cursor::Cursor; mod entry; pub use entry::Entry; -mod write_buf; -pub use write_buf::WriteBuf; +mod buf; +pub use buf::WriteBuf;
