This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 2909b219 deploy: 01227cfbf06bb1f37694478f0b0c2f4a5f696131
2909b219 is described below
commit 2909b21927381fc8ac4289438733611ea13e8536
Author: Xuanwo <[email protected]>
AuthorDate: Thu May 4 11:13:52 2023 +0000
deploy: 01227cfbf06bb1f37694478f0b0c2f4a5f696131
---
404.html | 4 +-
.../{ae4554eb.97960286.js => ae4554eb.8934c8ac.js} | 2 +-
.../{c377a04b.c674b66c.js => c377a04b.f1a8fb5b.js} | 2 +-
assets/js/runtime~main.a5067a2f.js | 1 -
assets/js/runtime~main.e7f44ad2.js | 1 +
blog/archive/index.html | 4 +-
blog/index.html | 4 +-
blog/opendal-entered-apache-incubator/index.html | 4 +-
blog/tags/announcement/index.html | 4 +-
blog/tags/index.html | 4 +-
docs/index.html | 6 +-
docs/nodejs/classes/BlockingLister.html | 4 +-
docs/nodejs/classes/Entry.html | 4 +-
docs/nodejs/classes/Lister.html | 4 +-
docs/nodejs/classes/Metadata.html | 18 +-
docs/nodejs/classes/Operator.html | 56 +++---
docs/nodejs/interfaces/PresignedRequest.html | 8 +-
docs/python/opendal.html | 30 ++--
docs/python/search.js | 2 +-
docs/rust/opendal/services/struct.Memcached.html | 12 +-
docs/rust/opendal/trait.Builder.html | 2 +-
.../src/opendal/services/memcached/ascii.rs.html | 192 +++++++++++++--------
.../src/opendal/services/memcached/backend.rs.html | 86 ++-------
docs/vision/index.html | 6 +-
index.html | 4 +-
25 files changed, 233 insertions(+), 231 deletions(-)
diff --git a/404.html b/404.html
index 95419a37..bae5bde7 100644
--- a/404.html
+++ b/404.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Page Not Found | Apache OpenDAL</title><meta
data-rh="true" name="viewport"
content="width=device-width,initial-scale=1"><meta data-rh="true"
name="twitter:card" content="summary_large_image"><meta data-rh="true"
property="og:url" content="https://opendal.apache.org/404.html"><meta
data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true"
name="docusaurus_tag" content="default"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/assets/js/ae4554eb.97960286.js b/assets/js/ae4554eb.8934c8ac.js
similarity index 98%
rename from assets/js/ae4554eb.97960286.js
rename to assets/js/ae4554eb.8934c8ac.js
index ae5f83f4..cf6d1c95 100644
--- a/assets/js/ae4554eb.97960286.js
+++ b/assets/js/ae4554eb.8934c8ac.js
@@ -1 +1 @@
-"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[983],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>f});var
n=r(7294);function a(e,t,r){return t in
e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function
o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}retur
[...]
\ No newline at end of file
+"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[983],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>f});var
n=r(7294);function a(e,t,r){return t in
e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function
o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var
n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}retur
[...]
\ No newline at end of file
diff --git a/assets/js/c377a04b.c674b66c.js b/assets/js/c377a04b.f1a8fb5b.js
similarity index 98%
rename from assets/js/c377a04b.c674b66c.js
rename to assets/js/c377a04b.f1a8fb5b.js
index 397e635e..81fc3a61 100644
--- a/assets/js/c377a04b.c674b66c.js
+++ b/assets/js/c377a04b.f1a8fb5b.js
@@ -1 +1 @@
-"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[971],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var
r=n(7294);function a(e,t,n){return t in
e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function
o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}retur
[...]
\ No newline at end of file
+"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[971],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var
r=n(7294);function a(e,t,n){return t in
e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function
o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var
r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return
Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}retur
[...]
\ No newline at end of file
diff --git a/assets/js/runtime~main.a5067a2f.js
b/assets/js/runtime~main.a5067a2f.js
deleted file mode 100644
index aeec57bd..00000000
--- a/assets/js/runtime~main.a5067a2f.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void
0!==t)return t.exports;var r=n[e]={exports:{}};return
f[e].call(r.exports,r,r.exports,c),r.exports}c.m=f,e=[],c.O=(t,r,a,o)=>{if(!r){var
f=1/0;for(d=0;d<e.length;d++){r=e[d][0],a=e[d][1],o=e[d][2];for(var
n=!0,i=0;i<r.length;i++)(!1&o||f>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(n=!1,o<f&&(f=o));if(n){e.splice(d--,1);var
b=a();void 0!==b&&(t=b)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1] [...]
\ No newline at end of file
diff --git a/assets/js/runtime~main.e7f44ad2.js
b/assets/js/runtime~main.e7f44ad2.js
new file mode 100644
index 00000000..c19c015b
--- /dev/null
+++ b/assets/js/runtime~main.e7f44ad2.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,t,r,a,o,n={},f={};function c(e){var t=f[e];if(void
0!==t)return t.exports;var r=f[e]={exports:{}};return
n[e].call(r.exports,r,r.exports,c),r.exports}c.m=n,e=[],c.O=(t,r,a,o)=>{if(!r){var
n=1/0;for(b=0;b<e.length;b++){r=e[b][0],a=e[b][1],o=e[b][2];for(var
f=!0,i=0;i<r.length;i++)(!1&o||n>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(f=!1,o<n&&(n=o));if(f){e.splice(b--,1);var
d=a();void 0!==d&&(t=d)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1] [...]
\ No newline at end of file
diff --git a/blog/archive/index.html b/blog/archive/index.html
index bfe2b4b7..8b3e2c7a 100644
--- a/blog/archive/index.html
+++ b/blog/archive/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Archive | Apache OpenDAL</title><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url"
content="https://opendal.apache.org/blog/archive"><meta data-rh="true"
name="docusaurus_locale" content="en"><meta data-rh="true"
name="docusaurus_tag" content="default"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="t [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/index.html b/blog/index.html
index e0610f9f..dc6e4725 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Blog | Apache OpenDAL</title><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url"
content="https://opendal.apache.org/blog"><meta data-rh="true"
name="docusaurus_locale" content="en"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="true" property="og:title"
content="Blog | Apache OpenDAL"><meta data-rh=" [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/opendal-entered-apache-incubator/index.html
b/blog/opendal-entered-apache-incubator/index.html
index 7e57d2e2..048a640e 100644
--- a/blog/opendal-entered-apache-incubator/index.html
+++ b/blog/opendal-entered-apache-incubator/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Way to Go: OpenDAL successfully entered Apache Incubator
| Apache OpenDAL</title><meta data-rh="true" name="viewport"
content="width=device-width,initial-scale=1"><meta data-rh="true"
name="twitter:card" content="summary_large_image"><meta data-rh="true"
property="og:url"
content="https://opendal.apache.org/blog/opendal-entered-apache-incubator"><meta
data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true"
name="docusaurus_tag" content="default"><m [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/tags/announcement/index.html
b/blog/tags/announcement/index.html
index 18c1ef4a..ead34871 100644
--- a/blog/tags/announcement/index.html
+++ b/blog/tags/announcement/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">One post tagged with "announcement" | Apache
OpenDAL</title><meta data-rh="true" name="viewport"
content="width=device-width,initial-scale=1"><meta data-rh="true"
name="twitter:card" content="summary_large_image"><meta data-rh="true"
property="og:url"
content="https://opendal.apache.org/blog/tags/announcement"><meta
data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="true" property [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/tags/index.html b/blog/tags/index.html
index cc84f7f3..f9793e78 100644
--- a/blog/tags/index.html
+++ b/blog/tags/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Tags | Apache OpenDAL</title><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url"
content="https://opendal.apache.org/blog/tags"><meta data-rh="true"
name="docusaurus_locale" content="en"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="true" property="og:title"
content="Tags | Apache OpenDAL"><meta data [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 4584a960..a08bf1cf 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Overview | Apache OpenDAL</title><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url"
content="https://opendal.apache.org/docs/"><meta data-rh="true"
name="docusaurus_locale" content="en"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="true"
name="docusaurus_version" content="current"><meta data-rh="tru [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
-<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/docs/nodejs/classes/BlockingLister.html
b/docs/nodejs/classes/BlockingLister.html
index 016bd249..a2f48874 100644
--- a/docs/nodejs/classes/BlockingLister.html
+++ b/docs/nodejs/classes/BlockingLister.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">BlockingLister</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L417">index.d.ts:417</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L417">index.d.ts:417</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -51,7 +51,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><a href="Entry.html" class="tsd-signature-type"
data-tsd-kind="Class">Entry</a></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L418">index.d.ts:418</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L418">index.d.ts:418</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/nodejs/classes/Entry.html b/docs/nodejs/classes/Entry.html
index f1880bb7..cdd35dff 100644
--- a/docs/nodejs/classes/Entry.html
+++ b/docs/nodejs/classes/Entry.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Entry</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L380">index.d.ts:380</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L380">index.d.ts:380</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -53,7 +53,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L382">index.d.ts:382</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L382">index.d.ts:382</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/nodejs/classes/Lister.html b/docs/nodejs/classes/Lister.html
index 882c3d38..cfa32412 100644
--- a/docs/nodejs/classes/Lister.html
+++ b/docs/nodejs/classes/Lister.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Lister</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L406">index.d.ts:406</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L406">index.d.ts:406</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -61,7 +61,7 @@ thing internally.</p>
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><a href="Entry.html" class="tsd-signature-type"
data-tsd-kind="Class">Entry</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L415">index.d.ts:415</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L415">index.d.ts:415</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/nodejs/classes/Metadata.html
b/docs/nodejs/classes/Metadata.html
index e54fd5e3..9d4c28aa 100644
--- a/docs/nodejs/classes/Metadata.html
+++ b/docs/nodejs/classes/Metadata.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Metadata</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L384">index.d.ts:384</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L384">index.d.ts:384</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -63,7 +63,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">string</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L390">index.d.ts:390</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L390">index.d.ts:390</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor
tsd-parent-kind-class"><a id="contentLength" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>content<wbr/>Length</span><a
href="#contentLength" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@@ -73,7 +73,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">bigint</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L392">index.d.ts:392</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L392">index.d.ts:392</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor
tsd-parent-kind-class"><a id="contentMd5" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>content<wbr/>Md5</span><a href="#contentMd5"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@@ -83,7 +83,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">string</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L394">index.d.ts:394</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L394">index.d.ts:394</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor
tsd-parent-kind-class"><a id="contentType" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>content<wbr/>Type</span><a
href="#contentType" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@@ -93,7 +93,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">string</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L396">index.d.ts:396</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L396">index.d.ts:396</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor
tsd-parent-kind-class"><a id="etag" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>etag</span><a href="#etag"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@@ -103,7 +103,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">string</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L398">index.d.ts:398</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L398">index.d.ts:398</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor
tsd-parent-kind-class"><a id="lastModified" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>last<wbr/>Modified</span><a
href="#lastModified" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@@ -114,7 +114,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">string</span></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L404">index.d.ts:404</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L404">index.d.ts:404</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="isDirectory" class="tsd-anchor"></a>
@@ -126,7 +126,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L386">index.d.ts:386</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L386">index.d.ts:386</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="isFile" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>File</span><a href="#isFile"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -136,7 +136,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L388">index.d.ts:388</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L388">index.d.ts:388</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/nodejs/classes/Operator.html
b/docs/nodejs/classes/Operator.html
index a4b4d94a..bb3110da 100644
--- a/docs/nodejs/classes/Operator.html
+++ b/docs/nodejs/classes/Operator.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">Operator</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L33">index.d.ts:33</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L33">index.d.ts:33</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -75,7 +75,7 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span
class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> |
</span><span class="tsd-signature-type">Record</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,
</span><span class="tsd-signature-type">string</span><span
class="tsd-signature-symbol">></span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Operator.html"
class="tsd-signature-type" data-tsd-kind="Class">Operator</a></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L34">index.d.ts:34</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L34">index.d.ts:34</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="check" class="tsd-anchor"></a>
@@ -94,7 +94,7 @@
</div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L77">index.d.ts:77</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L77">index.d.ts:77</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="copy" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>copy</span><a href="#copy"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -117,7 +117,7 @@
<h5>to: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L162">index.d.ts:162</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L162">index.d.ts:162</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="copySync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>copy<wbr/>Sync</span><a href="#copySync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -140,7 +140,7 @@
<h5>to: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L171">index.d.ts:171</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L171">index.d.ts:171</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="createDir" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Dir</span><a href="#createDir"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -161,7 +161,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L104">index.d.ts:104</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L104">index.d.ts:104</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="createDirSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>create<wbr/>Dir<wbr/>Sync</span><a
href="#createDirSync" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -182,7 +182,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L113">index.d.ts:113</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L113">index.d.ts:113</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="delete" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -208,7 +208,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L251">index.d.ts:251</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L251">index.d.ts:251</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="deleteSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>delete<wbr/>Sync</span><a href="#deleteSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -229,7 +229,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L260">index.d.ts:260</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L260">index.d.ts:260</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="isExist" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Exist</span><a href="#isExist"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -250,7 +250,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">boolean</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L86">index.d.ts:86</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L86">index.d.ts:86</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="isExistSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>is<wbr/>Exist<wbr/>Sync</span><a
href="#isExistSync" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -271,7 +271,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L95">index.d.ts:95</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L95">index.d.ts:95</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="list" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list</span><a href="#list"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -294,7 +294,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a href="Lister.html"
class="tsd-signature-type" data-tsd-kind="Class">Lister</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L307">index.d.ts:307</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L307">index.d.ts:307</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="listSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>list<wbr/>Sync</span><a href="#listSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -317,7 +317,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="BlockingLister.html"
class="tsd-signature-type" data-tsd-kind="Class">BlockingLister</a></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L330">index.d.ts:330</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L330">index.d.ts:330</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="presignRead" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>presign<wbr/>Read</span><a
href="#presignRead" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -341,7 +341,7 @@
<h5>expires: <span
class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L346">index.d.ts:346</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L346">index.d.ts:346</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="presignStat" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>presign<wbr/>Stat</span><a
href="#presignStat" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -365,7 +365,7 @@
<h5>expires: <span
class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L378">index.d.ts:378</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L378">index.d.ts:378</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="presignWrite" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>presign<wbr/>Write</span><a
href="#presignWrite" aria-label="Permalink" class="tsd-anchor-icon"><svg
class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round"><use href="#icon-anchor-a"></use><use
href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -389,7 +389,7 @@
<h5>expires: <span
class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L362">index.d.ts:362</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L362">index.d.ts:362</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="read" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>read</span><a href="#read"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -410,7 +410,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">Buffer</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L122">index.d.ts:122</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L122">index.d.ts:122</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="readSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>read<wbr/>Sync</span><a href="#readSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -431,7 +431,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Buffer</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L131">index.d.ts:131</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L131">index.d.ts:131</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="remove" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove</span><a href="#remove"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -457,7 +457,7 @@
<h5>paths: <span class="tsd-signature-type">string</span><span
class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L272">index.d.ts:272</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L272">index.d.ts:272</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="removeAll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>All</span><a href="#removeAll"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -483,7 +483,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L284">index.d.ts:284</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L284">index.d.ts:284</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="rename" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rename</span><a href="#rename"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -507,7 +507,7 @@
<h5>to: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L182">index.d.ts:182</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L182">index.d.ts:182</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="renameSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rename<wbr/>Sync</span><a href="#renameSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -531,7 +531,7 @@
<h5>to: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L193">index.d.ts:193</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L193">index.d.ts:193</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="scan" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>scan</span><a href="#scan"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -554,7 +554,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a href="Lister.html"
class="tsd-signature-type" data-tsd-kind="Class">Lister</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L216">index.d.ts:216</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L216">index.d.ts:216</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="scanSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>scan<wbr/>Sync</span><a href="#scanSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -577,7 +577,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="BlockingLister.html"
class="tsd-signature-type" data-tsd-kind="Class">BlockingLister</a></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L239">index.d.ts:239</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L239">index.d.ts:239</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="stat" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>stat</span><a href="#stat"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -608,7 +608,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><a href="Metadata.html"
class="tsd-signature-type" data-tsd-kind="Class">Metadata</a><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L54">index.d.ts:54</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L54">index.d.ts:54</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="statSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>stat<wbr/>Sync</span><a href="#statSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -629,7 +629,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="Metadata.html"
class="tsd-signature-type" data-tsd-kind="Class">Metadata</a></h4><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L66">index.d.ts:66</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L66">index.d.ts:66</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="write" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>write</span><a href="#write"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -652,7 +652,7 @@
<h5>content: <span class="tsd-signature-type">string</span><span
class="tsd-signature-symbol"> | </span><span
class="tsd-signature-type">Buffer</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">Promise</span><span
class="tsd-signature-symbol"><</span><span
class="tsd-signature-type">void</span><span
class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L142">index.d.ts:142</a></li></ul></aside></li></ul></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L142">index.d.ts:142</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a
id="writeSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>write<wbr/>Sync</span><a href="#writeSync"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -675,7 +675,7 @@
<h5>content: <span class="tsd-signature-type">string</span><span
class="tsd-signature-symbol"> | </span><span
class="tsd-signature-type">Buffer</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span
class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L153">index.d.ts:153</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L153">index.d.ts:153</a></li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/nodejs/interfaces/PresignedRequest.html
b/docs/nodejs/interfaces/PresignedRequest.html
index 49671e7a..af19e1fd 100644
--- a/docs/nodejs/interfaces/PresignedRequest.html
+++ b/docs/nodejs/interfaces/PresignedRequest.html
@@ -20,7 +20,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">PresignedRequest</span></li></ul></section><aside
class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L25">index.d.ts:25</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L25">index.d.ts:25</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary
class="tsd-accordion-summary tsd-index-summary">
@@ -40,21 +40,21 @@
<div class="tsd-comment tsd-typography"><p>HTTP headers of this request.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L31">index.d.ts:31</a></li></ul></aside></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L31">index.d.ts:31</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property
tsd-parent-kind-interface"><a id="method" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>method</span><a href="#method"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">method<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>HTTP method of this request.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L27">index.d.ts:27</a></li></ul></aside></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L27">index.d.ts:27</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property
tsd-parent-kind-interface"><a id="url" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>url</span><a href="#url"
aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler
icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round"><use
href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use
href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">url<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">string</span></div>
<div class="tsd-comment tsd-typography"><p>URL of this request.</p>
</div><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/0a6fc13/bindings/nodejs/index.d.ts#L29">index.d.ts:29</a></li></ul></aside></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/01227cf/bindings/nodejs/index.d.ts#L29">index.d.ts:29</a></li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
diff --git a/docs/python/opendal.html b/docs/python/opendal.html
index e2305264..20de675d 100644
--- a/docs/python/opendal.html
+++ b/docs/python/opendal.html
@@ -156,10 +156,10 @@
<a class="class" href="#Metadata">Metadata</a>
<ul class="memberlist">
<li>
- <a class="variable"
href="#Metadata.content_length">content_length</a>
+ <a class="variable"
href="#Metadata.content_type">content_type</a>
</li>
<li>
- <a class="variable"
href="#Metadata.content_type">content_type</a>
+ <a class="variable"
href="#Metadata.content_md5">content_md5</a>
</li>
<li>
<a class="variable"
href="#Metadata.etag">etag</a>
@@ -168,7 +168,7 @@
<a class="variable"
href="#Metadata.mode">mode</a>
</li>
<li>
- <a class="variable"
href="#Metadata.content_md5">content_md5</a>
+ <a class="variable"
href="#Metadata.content_length">content_length</a>
</li>
</ul>
@@ -852,28 +852,28 @@ The default value for whence is <code>SEEK_SET</code>.
Values for <code>whence</
- <div id="Metadata.content_length"
class="classattr">
+ <div id="Metadata.content_type" class="classattr">
<div class="attr variable">
- <span class="name">content_length</span><span class="annotation">:
int</span>
+ <span class="name">content_type</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.content_length"></a>
+ <a class="headerlink" href="#Metadata.content_type"></a>
- <div class="docstring"><p>Content length of this entry.</p>
+ <div class="docstring"><p>Content Type of this entry.</p>
</div>
</div>
- <div id="Metadata.content_type" class="classattr">
+ <div id="Metadata.content_md5" class="classattr">
<div class="attr variable">
- <span class="name">content_type</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">content_md5</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.content_type"></a>
+ <a class="headerlink" href="#Metadata.content_md5"></a>
- <div class="docstring"><p>Content Type of this entry.</p>
+ <div class="docstring"><p>Content MD5 of this entry.</p>
</div>
@@ -904,15 +904,15 @@ The default value for whence is <code>SEEK_SET</code>.
Values for <code>whence</
</div>
- <div id="Metadata.content_md5" class="classattr">
+ <div id="Metadata.content_length"
class="classattr">
<div class="attr variable">
- <span class="name">content_md5</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">content_length</span><span class="annotation">:
int</span>
</div>
- <a class="headerlink" href="#Metadata.content_md5"></a>
+ <a class="headerlink" href="#Metadata.content_length"></a>
- <div class="docstring"><p>Content MD5 of this entry.</p>
+ <div class="docstring"><p>Content length of this entry.</p>
</div>
diff --git a/docs/python/search.js b/docs/python/search.js
index 97d2d1a7..75e00fe6 100644
--- a/docs/python/search.js
+++ b/docs/python/search.js
@@ -1,6 +1,6 @@
window.pdocSearch = (function(){
/** elasticlunr - http://weixsong.github.io * Copyright (C) 2017 Oliver
Nightingale * Copyright (C) 2017 Wei Song * MIT Licensed */!function(){function
e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n
in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new
t.Index;return
n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return
function(t){e.console&&console.wa [...]
- /** pdoc search index */const docs = {"version": "0.9.5", "fields":
["qualname", "fullname", "annotation", "default_value", "signature", "bases",
"doc"], "ref": "fullname", "documentStore": {"docs": {"opendal": {"fullname":
"opendal", "modulename": "opendal", "kind": "module", "doc": "<p>OpenDAL Python
binding</p>\n\n<h2 id=\"installation\">Installation</h2>\n\n<div
class=\"pdoc-code codehilite\">\n<pre><span></span><code>pip<span class=\"w\">
</span>install<span class=\"w\"> </span> [...]
+ /** pdoc search index */const docs = {"version": "0.9.5", "fields":
["qualname", "fullname", "annotation", "default_value", "signature", "bases",
"doc"], "ref": "fullname", "documentStore": {"docs": {"opendal": {"fullname":
"opendal", "modulename": "opendal", "kind": "module", "doc": "<p>OpenDAL Python
binding</p>\n\n<h2 id=\"installation\">Installation</h2>\n\n<div
class=\"pdoc-code codehilite\">\n<pre><span></span><code>pip<span class=\"w\">
</span>install<span class=\"w\"> </span> [...]
// mirrored in build-search-index.js (part 1)
// Also split on html tags. this is a cheap heuristic, but good enough.
diff --git a/docs/rust/opendal/services/struct.Memcached.html
b/docs/rust/opendal/services/struct.Memcached.html
index 5b1f3952..56e64363 100644
--- a/docs/rust/opendal/services/struct.Memcached.html
+++ b/docs/rust/opendal/services/struct.Memcached.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Memcached
service support."><title>Memcached in opendal::services - Rust</title><link
rel="preload" as="font" type="font/woff2" crossorigin
href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link
rel="preload" as="font" type="font/woff2" crossorigin href="../../st [...]
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta
name="viewport" content="width=device-width, initial-scale=1.0"><meta
name="generator" content="rustdoc"><meta name="description" content="Memcached
service support."><title>Memcached in opendal::services - Rust</title><link
rel="preload" as="font" type="font/woff2" crossorigin
href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link
rel="preload" as="font" type="font/woff2" crossorigin href="../../st [...]
<h2 id="capabilities"><a href="#capabilities">Capabilities</a></h2>
<p>This service can be used to:</p>
<ul>
@@ -38,14 +38,14 @@ blocking</li>
<span class="kw">let _</span>: Object = op.object(<span
class="string">"test_file"</span>);
<span class="prelude-val">Ok</span>(())
}</code></pre></div>
-</div></details><h2 id="implementations"
class="small-section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-MemcachedBuilder"
class="impl"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#88-114">source</a><a
href="#impl-MemcachedBuilder" class="anchor">§</a><h3 class="code-header">impl
<a class="struct" href="struc [...]
+</div></details><h2 id="implementations"
class="small-section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-MemcachedBuilder"
class="impl"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#87-113">source</a><a
href="#impl-MemcachedBuilder" class="anchor">§</a><h3 class="code-header">impl
<a class="struct" href="struc [...]
<p>For example: “tcp://localhost:11211”</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.root" class="method"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#102-107">source</a><h4
class="code-header">pub fn <a href="#method.root" class="fn">root</a>(&mut
self, root: &<a class="primitive"
href="https://doc.rust-lang.org/1.69.0/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.ref
[...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.root" class="method"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#101-106">source</a><h4
class="code-header">pub fn <a href="#method.root" class="fn">root</a>(&mut
self, root: &<a class="primitive"
href="https://doc.rust-lang.org/1.69.0/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust-lang.org/1.69.0/std/primitive.ref
[...]
<p>default: “/”</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.default_ttl" class="method"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#110-113">source</a><h4
class="code-header">pub fn <a href="#method.default_ttl"
class="fn">default_ttl</a>(&mut self, ttl: <a class="struct"
href="https://doc.rust-lang.org/1.69.0/core/time/struct.Duration.html"
title="struct core::time::Duration">Duration</a>) -> <a class="primit [...]
-</div></details></div></details></div><h2 id="trait-implementations"
class="small-section-header">Trait Implementations<a
href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Builder-for-MemcachedBuilder" class="impl"><a
class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#116-193">source</a><a
href="#impl-Builder-for-MemcachedBuilder" class=" [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.default_ttl" class="method"><a class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#109-112">source</a><h4
class="code-header">pub fn <a href="#method.default_ttl"
class="fn">default_ttl</a>(&mut self, ttl: <a class="struct"
href="https://doc.rust-lang.org/1.69.0/core/time/struct.Duration.html"
title="struct core::time::Duration">Duration</a>) -> <a class="primit [...]
+</div></details></div></details></div><h2 id="trait-implementations"
class="small-section-header">Trait Implementations<a
href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Builder-for-MemcachedBuilder" class="impl"><a
class="srclink rightside"
href="../../src/opendal/services/memcached/backend.rs.html#115-192">source</a><a
href="#impl-Builder-for-MemcachedBuilder" class=" [...]
Self: <a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h4></section></summary><div
class='docblock'>Construct a builder from given
iterator.</div></details><details class="toggle method-toggle"
open><summary><section id="method.from_env" class="method trait-impl"><a
class="srclink rightside"
href="../../src/opendal/types/builder.rs.html#57-71">source</a><a
href="#method.from_env" class="anchor"> [...]
- Self: <a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h4></section></summary><div
class='docblock'>Construct a builder from envs. Please note that the env should
begin with
<code>opendal_{schema_name}_</code>.</div></details></div></details><details
class="toggle implementors-toggle" open><summary><section
id="impl-Clone-for-MemcachedBuilder" class="impl"><a class="srclink rightside"
href="../. [...]
+ Self: <a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h4></section></summary><div
class='docblock'>Construct a builder from envs. Please note that the env should
begin with
<code>opendal_{schema_name}_</code>.</div></details></div></details><details
class="toggle implementors-toggle" open><summary><section
id="impl-Clone-for-MemcachedBuilder" class="impl"><a class="srclink rightside"
href="../. [...]
T: 'static + ?<a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.type_id" class="method trait-impl"><a class="srclink rightside"
href="https://doc.rust-lang.org/1.69.0/src/core/any.rs.html#201">source</a><a
href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a h [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow" class="method trait-impl"><span class="rightside"><span
class="since" title="const unstable">const: <a
href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for
const_borrow">unstable</a></span> · [...]
T: ?<a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h3></section></summary><div
class="impl-items"><details class="toggle method-toggle" open><summary><section
id="method.borrow_mut" class="method trait-impl"><span class="rightside"><span
class="since" title="const unstable">const: <a
href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for
const_borrow">unstable</a></spa [...]
diff --git a/docs/rust/opendal/trait.Builder.html
b/docs/rust/opendal/trait.Builder.html
index a908ce4c..ca99420d 100644
--- a/docs/rust/opendal/trait.Builder.html
+++ b/docs/rust/opendal/trait.Builder.html
@@ -32,4 +32,4 @@ We also promise that every public API will provide detailed
documentation.</p>
</div></details><details class="toggle method-toggle" open><summary><section
id="method.from_env" class="method"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#57-71">source</a><h4
class="code-header">fn <a href="#method.from_env" class="fn">from_env</a>()
-> Self<span class="where fmt-newline">where
Self: <a class="trait"
href="https://doc.rust-lang.org/1.69.0/core/marker/trait.Sized.html"
title="trait
core::marker::Sized">Sized</a>,</span></h4></section></summary><div
class="docblock"><p>Construct a builder from envs. Please note that the env
should begin with <code>opendal_{schema_name}_</code>.</p>
</div></details></div><h2 id="foreign-impls"
class="small-section-header">Implementations on Foreign Types<a
href="#foreign-impls" class="anchor">§</a></h2><details class="toggle
implementors-toggle"><summary><section id="impl-Builder-for-()" class="impl"><a
class="srclink rightside"
href="../src/opendal/types/builder.rs.html#78-88">source</a><a
href="#impl-Builder-for-()" class="anchor">§</a><h3 class="code-header">impl <a
class="trait" href="trait.Builder.html" title="trait opendal::Bu [...]
-</div><div class="impl-items"><section id="associatedconstant.SCHEME-1"
class="associatedconstant trait-impl"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#79">source</a><a
href="#associatedconstant.SCHEME-1" class="anchor">§</a><h4
class="code-header">const <a href="#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="enum.Scheme.html"
title="enum opendal::Scheme">Scheme</a> = _</h4></section><section
id="associatedtype.Accessor-1" cla [...]
\ No newline at end of file
+</div><div class="impl-items"><section id="associatedconstant.SCHEME-1"
class="associatedconstant trait-impl"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#79">source</a><a
href="#associatedconstant.SCHEME-1" class="anchor">§</a><h4
class="code-header">const <a href="#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="enum.Scheme.html"
title="enum opendal::Scheme">Scheme</a> = _</h4></section><section
id="associatedtype.Accessor-1" cla [...]
\ No newline at end of file
diff --git a/docs/rust/src/opendal/services/memcached/ascii.rs.html
b/docs/rust/src/opendal/services/memcached/ascii.rs.html
index e96a8a39..ccc8b3fe 100644
--- a/docs/rust/src/opendal/services/memcached/ascii.rs.html
+++ b/docs/rust/src/opendal/services/memcached/ascii.rs.html
@@ -143,58 +143,92 @@
<a href="#143" id="143">143</a>
<a href="#144" id="144">144</a>
<a href="#145" id="145">145</a>
-</pre><pre class="rust"><code><span class="comment">// Copyright 2017 vavrusa
<[email protected]>
+<a href="#146" id="146">146</a>
+<a href="#147" id="147">147</a>
+<a href="#148" id="148">148</a>
+<a href="#149" id="149">149</a>
+<a href="#150" id="150">150</a>
+<a href="#151" id="151">151</a>
+<a href="#152" id="152">152</a>
+<a href="#153" id="153">153</a>
+<a href="#154" id="154">154</a>
+<a href="#155" id="155">155</a>
+<a href="#156" id="156">156</a>
+<a href="#157" id="157">157</a>
+<a href="#158" id="158">158</a>
+<a href="#159" id="159">159</a>
+<a href="#160" id="160">160</a>
+<a href="#161" id="161">161</a>
+<a href="#162" id="162">162</a>
+<a href="#163" id="163">163</a>
+<a href="#164" id="164">164</a>
+<a href="#165" id="165">165</a>
+<a href="#166" id="166">166</a>
+<a href="#167" id="167">167</a>
+<a href="#168" id="168">168</a>
+<a href="#169" id="169">169</a>
+<a href="#170" id="170">170</a>
+<a href="#171" id="171">171</a>
+<a href="#172" id="172">172</a>
+</pre><pre class="rust"><code><span class="comment">// Licensed to the Apache
Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
//
-// Licensed under the MIT License (see MIT-ascii.txt);
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
-</span><span class="kw">use </span>core::fmt::Display;
-<span class="kw">use </span>std::io::Error;
-<span class="kw">use </span>std::io::ErrorKind;
-<span class="kw">use </span>std::marker::Unpin;
+</span><span class="kw">use crate</span>::<span class="kw-2">*</span>;
-<span class="kw">use </span>futures::io::AsyncBufReadExt;
-<span class="kw">use </span>futures::io::AsyncRead;
-<span class="kw">use </span>futures::io::AsyncReadExt;
-<span class="kw">use </span>futures::io::AsyncWrite;
-<span class="kw">use </span>futures::io::AsyncWriteExt;
-<span class="kw">use </span>futures::io::BufReader;
+<span class="kw">use </span><span
class="kw">super</span>::backend::parse_io_error;
+<span class="kw">use </span>tokio::io::AsyncBufReadExt;
+<span class="kw">use </span>tokio::io::AsyncReadExt;
+<span class="kw">use </span>tokio::io::AsyncWriteExt;
+<span class="kw">use </span>tokio::io::BufReader;
+<span class="kw">use </span>tokio::net::TcpStream;
-<span class="doccomment">/// Memcache ASCII protocol implementation.
-</span><span class="kw">pub struct </span>Protocol<S> {
- io: BufReader<S>,
+<span class="kw">pub struct </span>Connection {
+ io: BufReader<TcpStream>,
buf: Vec<u8>,
}
-<span class="kw">impl</span><S> Protocol<S>
-<span class="kw">where
- </span>S: AsyncRead + AsyncWrite + Unpin,
-{
- <span class="doccomment">/// Creates the ASCII protocol on a stream.
- </span><span class="kw">pub fn </span>new(io: S) -> <span
class="self">Self </span>{
+<span class="kw">impl </span>Connection {
+ <span class="kw">pub fn </span>new(io: TcpStream) -> <span
class="self">Self </span>{
<span class="self">Self </span>{
io: BufReader::new(io),
buf: Vec::new(),
}
}
- <span class="doccomment">/// Returns the value for given key as bytes. If
the value doesn't exist, [`ErrorKind::NotFound`] is returned.
- </span><span class="kw">pub async fn </span>get<K:
AsRef<[u8]>>(<span class="kw-2">&mut </span><span
class="self">self</span>, key: K) -> <span
class="prelude-ty">Result</span><Vec<u8>, Error> {
+ <span class="kw">pub async fn </span>get(<span class="kw-2">&mut
</span><span class="self">self</span>, key: <span class="kw-2">&</span>str)
-> <span class="prelude-ty">Result</span><<span
class="prelude-ty">Option</span><Vec<u8>>> {
<span class="comment">// Send command
</span><span class="kw">let </span>writer = <span
class="self">self</span>.io.get_mut();
writer
- .write_all(<span class="kw-2">&</span>[<span
class="string">b"get "</span>, key.as_ref(), <span
class="string">b"\r\n"</span>].concat())
- .<span class="kw">await</span><span class="question-mark">?</span>;
- writer.flush().<span class="kw">await</span><span
class="question-mark">?</span>;
+ .write_all(<span class="kw-2">&</span>[<span
class="string">b"get "</span>, key.as_bytes(), <span
class="string">b"\r\n"</span>].concat())
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ writer.flush().<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="comment">// Read response header
- </span><span class="kw">let </span>header = <span
class="self">self</span>.read_line().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="kw">let </span>header =
std::str::from_utf8(header).map_err(|<span class="kw">_</span>|
ErrorKind::InvalidData)<span class="question-mark">?</span>;
+ </span><span class="kw">let </span>header = <span
class="self">self</span>.read_header().<span class="kw">await</span><span
class="question-mark">?</span>;
<span class="comment">// Check response header and parse value length
</span><span class="kw">if </span>header.contains(<span
class="string">"ERROR"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::Other, header));
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(
+ Error::new(ErrorKind::Unexpected, <span
class="string">"unexpected data received"</span>)
+ .with_context(<span
class="string">"message"</span>, header),
+ );
} <span class="kw">else if </span>header.starts_with(<span
class="string">"END"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(ErrorKind::NotFound.into());
+ <span class="kw">return </span><span
class="prelude-val">Ok</span>(<span class="prelude-val">None</span>);
}
<span class="comment">// VALUE <key> <flags> <bytes>
[<cas unique>]\r\n
@@ -202,91 +236,111 @@
.split(<span class="string">' '</span>)
.nth(<span class="number">3</span>)
.and_then(|len| len.trim_end().parse().ok())
- .ok_or(ErrorKind::InvalidData)<span class="question-mark">?</span>;
+ .ok_or_else(|| Error::new(ErrorKind::Unexpected, <span
class="string">"invalid data received"</span>))<span
class="question-mark">?</span>;
<span class="comment">// Read value
</span><span class="kw">let </span><span class="kw-2">mut
</span>buffer: Vec<u8> = <span class="macro">vec!</span>[<span
class="number">0</span>; length];
- <span class="self">self</span>.io.read_exact(<span
class="kw-2">&mut </span>buffer).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="self">self</span>.io
+ .read_exact(<span class="kw-2">&mut </span>buffer)
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="comment">// Read the trailing header
</span><span class="self">self</span>.read_line().<span
class="kw">await</span><span class="question-mark">?</span>; <span
class="comment">// \r\n
</span><span class="self">self</span>.read_line().<span
class="kw">await</span><span class="question-mark">?</span>; <span
class="comment">// END\r\n
- </span><span class="prelude-val">Ok</span>(buffer)
+ </span><span class="prelude-val">Ok</span>(<span
class="prelude-val">Some</span>(buffer))
}
- <span class="doccomment">/// Set key to given value and don't wait for
response.
- </span><span class="kw">pub async fn </span>set<K: Display>(
- <span class="kw-2">&mut </span><span class="self">self</span>,
- key: K,
- val: <span class="kw-2">&</span>[u8],
- expiration: u32,
- ) -> <span class="prelude-ty">Result</span><(), Error> {
+ <span class="kw">pub async fn </span>set(<span class="kw-2">&mut
</span><span class="self">self</span>, key: <span class="kw-2">&</span>str,
val: <span class="kw-2">&</span>[u8], expiration: u32) -> <span
class="prelude-ty">Result</span><()> {
<span class="kw">let </span>header = <span
class="macro">format!</span>(<span class="string">"set {} 0 {}
{}\r\n"</span>, key, expiration, val.len());
- <span class="self">self</span>.io.write_all(header.as_bytes()).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="self">self</span>.io.write_all(val).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="self">self</span>.io.write_all(<span
class="string">b"\r\n"</span>).<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="self">self</span>.io.flush().<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="self">self</span>.io
+ .write_all(header.as_bytes())
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="self">self</span>.io.write_all(val).<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="self">self</span>.io.write_all(<span
class="string">b"\r\n"</span>).<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="self">self</span>.io.flush().<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="comment">// Read response header
- </span><span class="kw">let </span>header = <span
class="self">self</span>.read_line().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="kw">let </span>header =
std::str::from_utf8(header).map_err(|<span class="kw">_</span>|
ErrorKind::InvalidData)<span class="question-mark">?</span>;
+ </span><span class="kw">let </span>header = <span
class="self">self</span>.read_header().<span class="kw">await</span><span
class="question-mark">?</span>;
+
<span class="comment">// Check response header and make sure we got a
`STORED`
</span><span class="kw">if </span>header.contains(<span
class="string">"STORED"</span>) {
<span class="kw">return </span><span
class="prelude-val">Ok</span>(());
} <span class="kw">else if </span>header.contains(<span
class="string">"ERROR"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::Other, header));
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(
+ Error::new(ErrorKind::Unexpected, <span
class="string">"unexpected data received"</span>)
+ .with_context(<span
class="string">"message"</span>, header),
+ );
}
<span class="prelude-val">Ok</span>(())
}
- <span class="doccomment">/// Delete a key and don't wait for response.
- </span><span class="kw">pub async fn </span>delete<K: Display>(<span
class="kw-2">&mut </span><span class="self">self</span>, key: K) ->
<span class="prelude-ty">Result</span><(), Error> {
+ <span class="kw">pub async fn </span>delete(<span class="kw-2">&mut
</span><span class="self">self</span>, key: <span class="kw-2">&</span>str)
-> <span class="prelude-ty">Result</span><()> {
<span class="kw">let </span>header = <span
class="macro">format!</span>(<span class="string">"delete
{}\r\n"</span>, key);
- <span class="self">self</span>.io.write_all(header.as_bytes()).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="self">self</span>.io.flush().<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="self">self</span>.io
+ .write_all(header.as_bytes())
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="self">self</span>.io.flush().<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="comment">// Read response header
- </span><span class="kw">let </span>header = <span
class="self">self</span>.read_line().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="kw">let </span>header =
std::str::from_utf8(header).map_err(|<span class="kw">_</span>|
ErrorKind::InvalidData)<span class="question-mark">?</span>;
+ </span><span class="kw">let </span>header = <span
class="self">self</span>.read_header().<span class="kw">await</span><span
class="question-mark">?</span>;
+
<span class="comment">// Check response header and parse value length
- </span><span class="kw">if </span>header.contains(<span
class="string">"NOT_FOUND"</span>) {
+ </span><span class="kw">if </span>header.contains(<span
class="string">"NOT_FOUND"</span>) || header.starts_with(<span
class="string">"END"</span>) {
<span class="kw">return </span><span
class="prelude-val">Ok</span>(());
- } <span class="kw">else if </span>header.starts_with(<span
class="string">"END"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(ErrorKind::NotFound.into());
} <span class="kw">else if </span>header.contains(<span
class="string">"ERROR"</span>) || !header.contains(<span
class="string">"DELETED"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::Other, header));
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(
+ Error::new(ErrorKind::Unexpected, <span
class="string">"unexpected data received"</span>)
+ .with_context(<span
class="string">"message"</span>, header),
+ );
}
<span class="prelude-val">Ok</span>(())
}
- <span class="doccomment">/// Return the version of the remote server.
- </span><span class="kw">pub async fn </span>version(<span
class="kw-2">&mut </span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><String, Error> {
- <span class="self">self</span>.io.write_all(<span
class="string">b"version\r\n"</span>).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="self">self</span>.io.flush().<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="kw">pub async fn </span>version(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><String> {
+ <span class="self">self</span>.io
+ .write_all(<span class="string">b"version\r\n"</span>)
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="self">self</span>.io.flush().<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="comment">// Read response header
- </span><span class="kw">let </span>header = {
- <span class="kw">let </span>buf = <span
class="self">self</span>.read_line().<span class="kw">await</span><span
class="question-mark">?</span>;
- std::str::from_utf8(buf).map_err(|<span class="kw">_</span>|
Error::from(ErrorKind::InvalidData))<span class="question-mark">?
- </span>};
+ </span><span class="kw">let </span>header = <span
class="self">self</span>.read_header().<span class="kw">await</span><span
class="question-mark">?</span>;
<span class="kw">if </span>!header.starts_with(<span
class="string">"VERSION"</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::Other, header));
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(
+ Error::new(ErrorKind::Unexpected, <span
class="string">"unexpected data received"</span>)
+ .with_context(<span
class="string">"message"</span>, header),
+ );
}
<span class="kw">let </span>version = header.trim_start_matches(<span
class="string">"VERSION "</span>).trim_end();
<span class="prelude-val">Ok</span>(version.to_string())
}
- <span class="kw">async fn </span>read_line(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><<span class="kw-2">&</span>[u8],
Error> {
+ <span class="kw">async fn </span>read_line(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><<span class="kw-2">&</span>[u8]> {
<span class="kw">let </span><span class="self">Self </span>{ io, buf }
= <span class="self">self</span>;
buf.clear();
- io.read_until(<span class="string">b'\n'</span>, buf).<span
class="kw">await</span><span class="question-mark">?</span>;
+ io.read_until(<span class="string">b'\n'</span>, buf).<span
class="kw">await</span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
<span class="kw">if </span>buf.last().copied() != <span
class="prelude-val">Some</span>(<span class="string">b'\n'</span>) {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(ErrorKind::UnexpectedEof.into());
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
+ ErrorKind::ContentIncomplete,
+ <span class="string">"unexpected eof, the response must
be incomplete"</span>,
+ ));
}
<span class="prelude-val">Ok</span>(<span
class="kw-2">&</span>buf[..])
}
+
+ <span class="kw">async fn </span>read_header(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><<span class="kw-2">&</span>str> {
+ <span class="kw">let </span>header = <span
class="self">self</span>.read_line().<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>header =
std::str::from_utf8(header).map_err(|err| {
+ Error::new(ErrorKind::Unexpected, <span
class="string">"invalid data received"</span>).set_source(err)
+ })<span class="question-mark">?</span>;
+
+ <span class="prelude-val">Ok</span>(header)
+ }
}
</code></pre></div>
</section></main><div id="rustdoc-vars" data-root-path="../../../../"
data-static-root-path="../../../../static.files/" data-current-crate="opendal"
data-themes="" data-resource-suffix="" data-rustdoc-version="1.69.0 (84c898d65
2023-04-16)" data-search-js="search-8a59a8356673ec1f.js"
data-settings-js="settings-f0c5c39777a9a2f6.js"
data-settings-css="settings-0bcba95ff279c1db.css" ></div></body></html>
\ No newline at end of file
diff --git a/docs/rust/src/opendal/services/memcached/backend.rs.html
b/docs/rust/src/opendal/services/memcached/backend.rs.html
index da45b128..517edc12 100644
--- a/docs/rust/src/opendal/services/memcached/backend.rs.html
+++ b/docs/rust/src/opendal/services/memcached/backend.rs.html
@@ -308,32 +308,6 @@
<a href="#308" id="308">308</a>
<a href="#309" id="309">309</a>
<a href="#310" id="310">310</a>
-<a href="#311" id="311">311</a>
-<a href="#312" id="312">312</a>
-<a href="#313" id="313">313</a>
-<a href="#314" id="314">314</a>
-<a href="#315" id="315">315</a>
-<a href="#316" id="316">316</a>
-<a href="#317" id="317">317</a>
-<a href="#318" id="318">318</a>
-<a href="#319" id="319">319</a>
-<a href="#320" id="320">320</a>
-<a href="#321" id="321">321</a>
-<a href="#322" id="322">322</a>
-<a href="#323" id="323">323</a>
-<a href="#324" id="324">324</a>
-<a href="#325" id="325">325</a>
-<a href="#326" id="326">326</a>
-<a href="#327" id="327">327</a>
-<a href="#328" id="328">328</a>
-<a href="#329" id="329">329</a>
-<a href="#330" id="330">330</a>
-<a href="#331" id="331">331</a>
-<a href="#332" id="332">332</a>
-<a href="#333" id="333">333</a>
-<a href="#334" id="334">334</a>
-<a href="#335" id="335">335</a>
-<a href="#336" id="336">336</a>
</pre><pre class="rust"><code><span class="comment">// Licensed to the Apache
Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -354,7 +328,6 @@
</span><span class="kw">use </span>std::collections::HashMap;
<span class="kw">use </span>std::time::Duration;
-<span class="kw">use </span>async_compat::Compat;
<span class="kw">use </span>async_trait::async_trait;
<span class="kw">use </span>bb8::RunError;
<span class="kw">use </span>tokio::net::TcpStream;
@@ -556,7 +529,7 @@
RunError::TimedOut => {
Error::new(ErrorKind::Unexpected, <span
class="string">"get connection from pool
failed"</span>).set_temporary()
}
- RunError::User(err) => parse_io_error(err),
+ RunError::User(err) => err,
})
}
}
@@ -579,13 +552,9 @@
<span class="kw">async fn </span>get(<span class="kw-2">&</span><span
class="self">self</span>, key: <span class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><<span
class="prelude-ty">Option</span><Vec<u8>>> {
<span class="kw">let </span><span class="kw-2">mut </span>conn = <span
class="self">self</span>.conn().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="comment">// TODO: memcache-async have `Sized` limit on
key, can we remove it?
- </span><span class="kw">match </span>conn.get(<span
class="kw-2">&</span>percent_encode_path(key)).<span class="kw">await
</span>{
- <span class="prelude-val">Ok</span>(bs) => <span
class="prelude-val">Ok</span>(<span class="prelude-val">Some</span>(bs)),
- <span class="prelude-val">Err</span>(err) <span class="kw">if
</span>err.kind() == std::io::ErrorKind::NotFound => <span
class="prelude-val">Ok</span>(<span class="prelude-val">None</span>),
- <span class="prelude-val">Err</span>(err) => <span
class="prelude-val">Err</span>(parse_io_error(err)),
- }
- }
+
+ conn.get(<span
class="kw-2">&</span>percent_encode_path(key)).<span class="kw">await
+ </span>}
<span class="kw">async fn </span>set(<span class="kw-2">&</span><span
class="self">self</span>, key: <span class="kw-2">&</span>str, value: <span
class="kw-2">&</span>[u8]) -> <span
class="prelude-ty">Result</span><()> {
<span class="kw">let </span><span class="kw-2">mut </span>conn = <span
class="self">self</span>.conn().<span class="kw">await</span><span
class="question-mark">?</span>;
@@ -599,40 +568,13 @@
.unwrap_or_default(),
)
.<span class="kw">await
- </span>.map_err(parse_io_error)<span class="question-mark">?</span>;
-
- <span class="prelude-val">Ok</span>(())
- }
+ </span>}
<span class="kw">async fn </span>delete(<span
class="kw-2">&</span><span class="self">self</span>, key: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><()> {
<span class="kw">let </span><span class="kw-2">mut </span>conn = <span
class="self">self</span>.conn().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="kw">let _</span>: () = conn
- .delete(<span class="kw-2">&</span>percent_encode_path(key))
- .<span class="kw">await
- </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
- <span class="prelude-val">Ok</span>(())
- }
-}
-
-<span class="kw">fn </span>parse_io_error(err: std::io::Error) -> Error {
- <span class="kw">use </span>std::io::ErrorKind::<span
class="kw-2">*</span>;
-
- <span class="kw">let </span>(kind, retryable) = <span class="kw">match
</span>err.kind() {
- NotFound => (ErrorKind::NotFound, <span
class="bool-val">false</span>),
- AlreadyExists => (ErrorKind::NotFound, <span
class="bool-val">false</span>),
- PermissionDenied => (ErrorKind::PermissionDenied, <span
class="bool-val">false</span>),
- Interrupted | UnexpectedEof | TimedOut | WouldBlock =>
(ErrorKind::Unexpected, <span class="bool-val">true</span>),
- <span class="kw">_ </span>=> (ErrorKind::Unexpected, <span
class="bool-val">true</span>),
- };
-
- <span class="kw">let </span><span class="kw-2">mut </span>err =
Error::new(kind, <span
class="kw-2">&</span>err.kind().to_string()).set_source(err);
-
- <span class="kw">if </span>retryable {
- err = err.set_temporary();
- }
-
- err
+ conn.delete(<span
class="kw-2">&</span>percent_encode_path(key)).<span class="kw">await
+ </span>}
}
<span class="doccomment">/// A `bb8::ManageConnection` for
`memcache_async::ascii::Protocol`.
@@ -653,13 +595,15 @@
<span class="attr">#[async_trait]
</span><span class="kw">impl </span>bb8::ManageConnection <span class="kw">for
</span>MemcacheConnectionManager {
- <span class="kw">type </span>Connection =
ascii::Protocol<Compat<TcpStream>>;
- <span class="kw">type </span>Error = std::io::Error;
+ <span class="kw">type </span>Connection = ascii::Connection;
+ <span class="kw">type </span>Error = Error;
<span class="doccomment">/// TODO: Implement unix stream support.
</span><span class="kw">async fn </span>connect(<span
class="kw-2">&</span><span class="self">self</span>) ->
std::result::Result<<span class="self">Self</span>::Connection, <span
class="self">Self</span>::Error> {
- <span class="kw">let </span>sock = TcpStream::connect(<span
class="kw-2">&</span><span class="self">self</span>.address).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span
class="prelude-val">Ok</span>(ascii::Protocol::new(Compat::new(sock)))
+ <span class="kw">let </span>conn = TcpStream::connect(<span
class="kw-2">&</span><span class="self">self</span>.address)
+ .<span class="kw">await
+ </span>.map_err(parse_io_error)<span
class="question-mark">?</span>;
+ <span class="prelude-val">Ok</span>(ascii::Connection::new(conn))
}
<span class="kw">async fn </span>is_valid(<span
class="kw-2">&</span><span class="self">self</span>, conn: <span
class="kw-2">&mut </span><span class="self">Self</span>::Connection) ->
std::result::Result<(), <span class="self">Self</span>::Error> {
@@ -670,5 +614,9 @@
<span class="bool-val">false
</span>}
}
+
+<span class="kw">pub fn </span>parse_io_error(err: std::io::Error) -> Error
{
+ Error::new(ErrorKind::Unexpected, <span
class="kw-2">&</span>err.kind().to_string()).set_source(err)
+}
</code></pre></div>
</section></main><div id="rustdoc-vars" data-root-path="../../../../"
data-static-root-path="../../../../static.files/" data-current-crate="opendal"
data-themes="" data-resource-suffix="" data-rustdoc-version="1.69.0 (84c898d65
2023-04-16)" data-search-js="search-8a59a8356673ec1f.js"
data-settings-js="settings-f0c5c39777a9a2f6.js"
data-settings-css="settings-0bcba95ff279c1db.css" ></div></body></html>
\ No newline at end of file
diff --git a/docs/vision/index.html b/docs/vision/index.html
index 6d9a0c94..2968dfa4 100644
--- a/docs/vision/index.html
+++ b/docs/vision/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Vision | Apache OpenDAL</title><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url"
content="https://opendal.apache.org/docs/vision"><meta data-rh="true"
name="docusaurus_locale" content="en"><meta data-rh="true"
name="docsearch:language" content="en"><meta data-rh="true"
name="docusaurus_version" content="current"><meta data-rh= [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
-<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<div role="region" aria-label="Skip to main content"><a
class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to
main content</a></div><nav aria-label="Main" class="navbar
navbar--fixed-top"><div class="navbar__inner"><div
class="navbar__items"><button aria-label="Toggle navigation bar"
aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg
width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path
stroke="currentColor" stroke-linecap="roun [...]
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/index.html b/index.html
index f0e72aa1..6f12f050 100644
--- a/index.html
+++ b/index.html
@@ -5,13 +5,13 @@
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">Apache OpenDAL</title><meta data-rh="true"
property="og:title" content="Apache OpenDAL"><meta data-rh="true"
name="viewport" content="width=device-width,initial-scale=1"><meta
data-rh="true" name="twitter:card" content="summary_large_image"><meta
data-rh="true" property="og:url" content="https://opendal.apache.org/"><meta
data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true"
name="docusaurus_tag" content="default"><meta data-rh="true" name="docse [...]
<link rel="alternate" type="application/atom+xml" href="/blog/atom.xml"
title="Apache OpenDAL Atom Feed"><link rel="stylesheet"
href="/assets/css/styles.8610ae2e.css">
-<link rel="preload" href="/assets/js/runtime~main.a5067a2f.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.e7f44ad2.js" as="script">
<link rel="preload" href="/assets/js/main.e8563114.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function
t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var
t=null;try{t=localStorage.getItem("theme")}catch(t){}return
t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div id="docusaurus-base-url-issue-banner-container"></div><div role="region"
aria-label="Skip to main content"><a class="skipToContent_fXgn"
href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav
aria-label="Main" class="navbar navbar--fixed-top"><div
class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle
navigation bar" aria-expanded="false" class="navbar__toggle clean-btn"
type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hid [...]
-<script src="/assets/js/runtime~main.a5067a2f.js"></script>
+<script src="/assets/js/runtime~main.e7f44ad2.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file