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 2024/01/12 01:57:45 UTC
(incubator-opendal) branch main updated: fix(doc): fix rfc typos (#3971)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 77e9bdb492 fix(doc): fix rfc typos (#3971)
77e9bdb492 is described below
commit 77e9bdb49282cd186a257b4b8d4974aef602ff19
Author: 青鱼 <41...@qq.com>
AuthorDate: Fri Jan 12 09:57:40 2024 +0800
fix(doc): fix rfc typos (#3971)
Signed-off-by: HowiieYu <ho...@gmail.com>
---
core/src/docs/rfcs/3911_deleter_api.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/src/docs/rfcs/3911_deleter_api.md b/core/src/docs/rfcs/3911_deleter_api.md
index b87636b0d0..8575dc2b52 100644
--- a/core/src/docs/rfcs/3911_deleter_api.md
+++ b/core/src/docs/rfcs/3911_deleter_api.md
@@ -34,10 +34,10 @@ The following new API will be added to `Operator`:
```diff
impl Operator {
pub async fn detele(&self, path: &str) -> Result<()>;
-+ pub async fn delete_with(&self, path: &str) -> FutureDelete;
++ pub fn delete_with(&self, path: &str) -> FutureDelete;
+ pub async fn deleter(&self) -> Result<Deleter>;
-+ pub async fn deleter_with(&self) -> FutureDeleter;
++ pub fn deleter_with(&self) -> FutureDeleter;
}
```
@@ -96,7 +96,7 @@ deleter.close().await?;
Users can control the behavior of `Deleter` by setting the options:
```rust
-let deleter = op.deleter()
+let deleter = op.deleter_with()
// Allow up to 8 concurrent delete tasks, default to 1.
.concurrent(8)
// Configure the buffer size to 1000, default value provided by services.