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 73ce99a2 deploy: af273fa745ef677cc3d3cccc0819681c7b9b311e
73ce99a2 is described below
commit 73ce99a237a93c9802b15c7a23629266384efcc0
Author: Xuanwo <[email protected]>
AuthorDate: Tue May 9 10:14:02 2023 +0000
deploy: af273fa745ef677cc3d3cccc0819681c7b9b311e
---
404.html | 4 +-
assets/js/ae4554eb.0d279c0e.js | 1 +
assets/js/ae4554eb.b42a0d15.js | 1 -
assets/js/c377a04b.61e7e3cf.js | 1 +
assets/js/c377a04b.81bfa0f7.js | 1 -
...e~main.f2bb17dd.js => runtime~main.a5bd7455.js} | 2 +-
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/source-files.js | 2 +-
.../src/opendal/services/gdrive/backend.rs.html | 312 ++-------------------
.../gdrive/{backend.rs.html => core.rs.html} | 272 +++++++-----------
docs/rust/src/opendal/services/gdrive/mod.rs.html | 2 +
.../src/opendal/services/gdrive/writer.rs.html | 16 +-
docs/vision/index.html | 6 +-
index.html | 4 +-
27 files changed, 217 insertions(+), 559 deletions(-)
diff --git a/404.html b/404.html
index 8004211f..4d92eea8 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/assets/js/ae4554eb.0d279c0e.js b/assets/js/ae4554eb.0d279c0e.js
new file mode 100644
index 00000000..f95884f3
--- /dev/null
+++ b/assets/js/ae4554eb.0d279c0e.js
@@ -0,0 +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
diff --git a/assets/js/ae4554eb.b42a0d15.js b/assets/js/ae4554eb.b42a0d15.js
deleted file mode 100644
index 8f973802..00000000
--- a/assets/js/ae4554eb.b42a0d15.js
+++ /dev/null
@@ -1 +0,0 @@
-"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.61e7e3cf.js b/assets/js/c377a04b.61e7e3cf.js
new file mode 100644
index 00000000..cf6ba6b8
--- /dev/null
+++ b/assets/js/c377a04b.61e7e3cf.js
@@ -0,0 +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
diff --git a/assets/js/c377a04b.81bfa0f7.js b/assets/js/c377a04b.81bfa0f7.js
deleted file mode 100644
index 3516ab0f..00000000
--- a/assets/js/c377a04b.81bfa0f7.js
+++ /dev/null
@@ -1 +0,0 @@
-"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.f2bb17dd.js
b/assets/js/runtime~main.a5bd7455.js
similarity index 54%
rename from assets/js/runtime~main.f2bb17dd.js
rename to assets/js/runtime~main.a5bd7455.js
index 316bfdef..da3a999a 100644
--- a/assets/js/runtime~main.f2bb17dd.js
+++ b/assets/js/runtime~main.a5bd7455.js
@@ -1 +1 @@
-(()=>{"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
+(()=>{"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(d=0;d<e.length;d++){r=e[d][0],a=e[d][1],o=e[d][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(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/blog/archive/index.html b/blog/archive/index.html
index 358321af..87bb980e 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.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 83c2a8f8..e8717cd5 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.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 6cf425bc..72489255 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.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 b44b0d7e..4c6aeda8 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.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 efce75e7..5c7e46ac 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.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 21e076fb..a62ba0ed 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.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.a5bd7455.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 22104236..1af01f1f 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 f4891560..e9f32786 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 dfcd55d7..2586709c 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 88feb2d9..82e2c589 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 5fdac353..a39100e6 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 1d20b76e..b83f7e0c 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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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/91611ca/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/af273fa/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 123ce1e6..20de675d 100644
--- a/docs/python/opendal.html
+++ b/docs/python/opendal.html
@@ -156,16 +156,16 @@
<a class="class" href="#Metadata">Metadata</a>
<ul class="memberlist">
<li>
- <a class="variable"
href="#Metadata.etag">etag</a>
+ <a class="variable"
href="#Metadata.content_type">content_type</a>
</li>
<li>
<a class="variable"
href="#Metadata.content_md5">content_md5</a>
</li>
<li>
- <a class="variable"
href="#Metadata.mode">mode</a>
+ <a class="variable"
href="#Metadata.etag">etag</a>
</li>
<li>
- <a class="variable"
href="#Metadata.content_type">content_type</a>
+ <a class="variable"
href="#Metadata.mode">mode</a>
</li>
<li>
<a class="variable"
href="#Metadata.content_length">content_length</a>
@@ -852,15 +852,15 @@ The default value for whence is <code>SEEK_SET</code>.
Values for <code>whence</
- <div id="Metadata.etag" class="classattr">
+ <div id="Metadata.content_type" class="classattr">
<div class="attr variable">
- <span class="name">etag</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">content_type</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.etag"></a>
+ <a class="headerlink" href="#Metadata.content_type"></a>
- <div class="docstring"><p>ETag of this entry.</p>
+ <div class="docstring"><p>Content Type of this entry.</p>
</div>
@@ -878,28 +878,28 @@ The default value for whence is <code>SEEK_SET</code>.
Values for <code>whence</
</div>
- <div id="Metadata.mode" class="classattr">
+ <div id="Metadata.etag" class="classattr">
<div class="attr variable">
- <span class="name">mode</span><span class="annotation">: <a
href="#EntryMode">opendal.EntryMode</a></span>
+ <span class="name">etag</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.mode"></a>
+ <a class="headerlink" href="#Metadata.etag"></a>
- <div class="docstring"><p>mode represent this entry's mode.</p>
+ <div class="docstring"><p>ETag of this entry.</p>
</div>
</div>
- <div id="Metadata.content_type" class="classattr">
+ <div id="Metadata.mode" class="classattr">
<div class="attr variable">
- <span class="name">content_type</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">mode</span><span class="annotation">: <a
href="#EntryMode">opendal.EntryMode</a></span>
</div>
- <a class="headerlink" href="#Metadata.content_type"></a>
+ <a class="headerlink" href="#Metadata.mode"></a>
- <div class="docstring"><p>Content Type of this entry.</p>
+ <div class="docstring"><p>mode represent this entry's mode.</p>
</div>
diff --git a/docs/python/search.js b/docs/python/search.js
index 73fd026c..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/source-files.js b/docs/rust/source-files.js
index f46272b2..3d7f5aff 100644
--- a/docs/rust/source-files.js
+++ b/docs/rust/source-files.js
@@ -1,4 +1,4 @@
var sourcesIndex = JSON.parse('{\
-"opendal":["",[["docs",[["comparisons",[],["mod.rs"]],["internals",[],["accessor.rs","layer.rs","mod.rs"]],["rfcs",[],["mod.rs"]]],["concepts.rs","mod.rs"]],["layers",[],["chaos.rs","complete.rs","concurrent_limit.rs","error_context.rs","immutable_index.rs","logging.rs","madsim.rs","metrics.rs","minitrace.rs","mod.rs","oteltrace.rs","prometheus.rs","retry.rs","tracing.rs","type_eraser.rs"]],["raw",[["adapters",[["kv",[],["api.rs","backend.rs","mod.rs"]],["typed_kv",[],["api.rs","backend.
[...]
+"opendal":["",[["docs",[["comparisons",[],["mod.rs"]],["internals",[],["accessor.rs","layer.rs","mod.rs"]],["rfcs",[],["mod.rs"]]],["concepts.rs","mod.rs"]],["layers",[],["chaos.rs","complete.rs","concurrent_limit.rs","error_context.rs","immutable_index.rs","logging.rs","madsim.rs","metrics.rs","minitrace.rs","mod.rs","oteltrace.rs","prometheus.rs","retry.rs","tracing.rs","type_eraser.rs"]],["raw",[["adapters",[["kv",[],["api.rs","backend.rs","mod.rs"]],["typed_kv",[],["api.rs","backend.
[...]
}');
createSourceSidebar();
diff --git a/docs/rust/src/opendal/services/gdrive/backend.rs.html
b/docs/rust/src/opendal/services/gdrive/backend.rs.html
index 4f82665d..6fbce089 100644
--- a/docs/rust/src/opendal/services/gdrive/backend.rs.html
+++ b/docs/rust/src/opendal/services/gdrive/backend.rs.html
@@ -112,144 +112,6 @@
<a href="#112" id="112">112</a>
<a href="#113" id="113">113</a>
<a href="#114" id="114">114</a>
-<a href="#115" id="115">115</a>
-<a href="#116" id="116">116</a>
-<a href="#117" id="117">117</a>
-<a href="#118" id="118">118</a>
-<a href="#119" id="119">119</a>
-<a href="#120" id="120">120</a>
-<a href="#121" id="121">121</a>
-<a href="#122" id="122">122</a>
-<a href="#123" id="123">123</a>
-<a href="#124" id="124">124</a>
-<a href="#125" id="125">125</a>
-<a href="#126" id="126">126</a>
-<a href="#127" id="127">127</a>
-<a href="#128" id="128">128</a>
-<a href="#129" id="129">129</a>
-<a href="#130" id="130">130</a>
-<a href="#131" id="131">131</a>
-<a href="#132" id="132">132</a>
-<a href="#133" id="133">133</a>
-<a href="#134" id="134">134</a>
-<a href="#135" id="135">135</a>
-<a href="#136" id="136">136</a>
-<a href="#137" id="137">137</a>
-<a href="#138" id="138">138</a>
-<a href="#139" id="139">139</a>
-<a href="#140" id="140">140</a>
-<a href="#141" id="141">141</a>
-<a href="#142" id="142">142</a>
-<a href="#143" id="143">143</a>
-<a href="#144" id="144">144</a>
-<a href="#145" id="145">145</a>
-<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>
-<a href="#173" id="173">173</a>
-<a href="#174" id="174">174</a>
-<a href="#175" id="175">175</a>
-<a href="#176" id="176">176</a>
-<a href="#177" id="177">177</a>
-<a href="#178" id="178">178</a>
-<a href="#179" id="179">179</a>
-<a href="#180" id="180">180</a>
-<a href="#181" id="181">181</a>
-<a href="#182" id="182">182</a>
-<a href="#183" id="183">183</a>
-<a href="#184" id="184">184</a>
-<a href="#185" id="185">185</a>
-<a href="#186" id="186">186</a>
-<a href="#187" id="187">187</a>
-<a href="#188" id="188">188</a>
-<a href="#189" id="189">189</a>
-<a href="#190" id="190">190</a>
-<a href="#191" id="191">191</a>
-<a href="#192" id="192">192</a>
-<a href="#193" id="193">193</a>
-<a href="#194" id="194">194</a>
-<a href="#195" id="195">195</a>
-<a href="#196" id="196">196</a>
-<a href="#197" id="197">197</a>
-<a href="#198" id="198">198</a>
-<a href="#199" id="199">199</a>
-<a href="#200" id="200">200</a>
-<a href="#201" id="201">201</a>
-<a href="#202" id="202">202</a>
-<a href="#203" id="203">203</a>
-<a href="#204" id="204">204</a>
-<a href="#205" id="205">205</a>
-<a href="#206" id="206">206</a>
-<a href="#207" id="207">207</a>
-<a href="#208" id="208">208</a>
-<a href="#209" id="209">209</a>
-<a href="#210" id="210">210</a>
-<a href="#211" id="211">211</a>
-<a href="#212" id="212">212</a>
-<a href="#213" id="213">213</a>
-<a href="#214" id="214">214</a>
-<a href="#215" id="215">215</a>
-<a href="#216" id="216">216</a>
-<a href="#217" id="217">217</a>
-<a href="#218" id="218">218</a>
-<a href="#219" id="219">219</a>
-<a href="#220" id="220">220</a>
-<a href="#221" id="221">221</a>
-<a href="#222" id="222">222</a>
-<a href="#223" id="223">223</a>
-<a href="#224" id="224">224</a>
-<a href="#225" id="225">225</a>
-<a href="#226" id="226">226</a>
-<a href="#227" id="227">227</a>
-<a href="#228" id="228">228</a>
-<a href="#229" id="229">229</a>
-<a href="#230" id="230">230</a>
-<a href="#231" id="231">231</a>
-<a href="#232" id="232">232</a>
-<a href="#233" id="233">233</a>
-<a href="#234" id="234">234</a>
-<a href="#235" id="235">235</a>
-<a href="#236" id="236">236</a>
-<a href="#237" id="237">237</a>
-<a href="#238" id="238">238</a>
-<a href="#239" id="239">239</a>
-<a href="#240" id="240">240</a>
-<a href="#241" id="241">241</a>
-<a href="#242" id="242">242</a>
-<a href="#243" id="243">243</a>
-<a href="#244" id="244">244</a>
-<a href="#245" id="245">245</a>
-<a href="#246" id="246">246</a>
-<a href="#247" id="247">247</a>
-<a href="#248" id="248">248</a>
-<a href="#249" id="249">249</a>
-<a href="#250" id="250">250</a>
-<a href="#251" id="251">251</a>
-<a href="#252" id="252">252</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
@@ -268,47 +130,40 @@
// under the License.
</span><span class="kw">use </span>async_trait::async_trait;
-<span class="kw">use </span>http::{header, Request, Response, StatusCode};
-<span class="kw">use </span>serde::Deserialize;
-<span class="kw">use </span>std::fmt::Debug;
+<span class="kw">use </span>http::StatusCode;
+
+<span class="kw">use </span>std::{fmt::Debug, sync::Arc};
<span class="kw">use crate</span>::{
ops::{OpDelete, OpRead, OpWrite},
raw::{
- build_rooted_abs_path, new_request_build_error, parse_into_metadata,
Accessor,
- AccessorInfo, AsyncBody, HttpClient, IncomingAsyncBody, RpDelete,
RpRead, RpWrite,
+ parse_into_metadata, Accessor, AccessorInfo, HttpClient,
IncomingAsyncBody, RpDelete,
+ RpRead, RpWrite,
},
types::Result,
Capability, Error, ErrorKind,
};
-<span class="kw">use super</span>::{error::parse_error, writer::GdriveWriter};
+<span class="kw">use super</span>::{core::GdriveCore, error::parse_error,
writer::GdriveWriter};
-<span class="attr">#[derive(Clone)]
+<span class="attr">#[derive(Clone, Debug)]
</span><span class="kw">pub struct </span>GdriveBackend {
- root: String,
- access_token: String,
- client: HttpClient,
+ core: Arc<GdriveCore>,
}
<span class="kw">impl </span>GdriveBackend {
<span class="kw">pub</span>(<span class="kw">crate</span>) <span
class="kw">fn </span>new(root: String, access_token: String, http_client:
HttpClient) -> <span class="self">Self </span>{
GdriveBackend {
- root,
- access_token,
- client: http_client,
+ core: Arc::new(GdriveCore {
+ root,
+ access_token,
+ client: http_client,
+ path_cache: Arc::default(),
+ }),
}
}
}
-<span class="kw">impl </span>Debug <span class="kw">for </span>GdriveBackend {
- <span class="kw">fn </span>fmt(<span class="kw-2">&</span><span
class="self">self</span>, f: <span class="kw-2">&mut
</span>std::fmt::Formatter<<span class="lifetime">'_</span>>) ->
std::fmt::Result {
- <span class="kw">let </span><span class="kw-2">mut </span>de =
f.debug_struct(<span class="string">"GoolgeDriveBackend"</span>);
- de.field(<span class="string">"root"</span>, <span
class="kw-2">&</span><span class="self">self</span>.root);
- de.finish()
- }
-}
-
<span class="attr">#[async_trait]
</span><span class="kw">impl </span>Accessor <span class="kw">for
</span>GdriveBackend {
<span class="kw">type </span>Reader = IncomingAsyncBody;
@@ -321,7 +176,7 @@
<span class="kw">fn </span>info(<span class="kw-2">&</span><span
class="self">self</span>) -> AccessorInfo {
<span class="kw">let </span><span class="kw-2">mut </span>ma =
AccessorInfo::default();
ma.set_scheme(<span class="kw">crate</span>::Scheme::Gdrive)
- .set_root(<span class="kw-2">&</span><span
class="self">self</span>.root)
+ .set_root(<span class="kw-2">&</span><span
class="self">self</span>.core.root)
.set_capability(Capability {
read: <span class="bool-val">true</span>,
write: <span class="bool-val">true</span>,
@@ -333,7 +188,7 @@
}
<span class="kw">async fn </span>read(<span class="kw-2">&</span><span
class="self">self</span>, path: <span class="kw-2">&</span>str, _args:
OpRead) -> <span class="prelude-ty">Result</span><(RpRead, <span
class="self">Self</span>::Reader)> {
- <span class="kw">let </span>resp = <span
class="self">self</span>.gdrive_get(path).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.core.gdrive_get(path).<span
class="kw">await</span><span class="question-mark">?</span>;
<span class="kw">let </span>status = resp.status();
@@ -356,12 +211,12 @@
<span class="prelude-val">Ok</span>((
RpWrite::default(),
- GdriveWriter::new(<span class="self">self</span>.clone(), args,
String::from(path)),
+ GdriveWriter::new(<span class="self">self</span>.core.clone(),
args, String::from(path)),
))
}
<span class="kw">async fn </span>delete(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, <span class="kw">_</span>: OpDelete) -> <span
class="prelude-ty">Result</span><RpDelete> {
- <span class="kw">let </span>resp = <span
class="self">self</span>.gdrive_delete(path).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.core.gdrive_delete(path).<span
class="kw">await</span><span class="question-mark">?</span>;
<span class="kw">let </span>status = resp.status();
@@ -371,136 +226,5 @@
}
}
}
-
-<span class="kw">impl </span>GdriveBackend {
- <span class="kw">async fn </span>get_abs_root_id(<span
class="kw-2">&</span><span class="self">self</span>) -> String {
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span
class="string">"https://www.googleapis.com/drive/v3/files/root"</span>);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
- <span class="kw">let </span>req = req
- .body(AsyncBody::Empty)
- .map_err(new_request_build_error)
- .unwrap();
-
- <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span
class="kw">await</span>.unwrap();
-
- <span class="kw">let </span>body_value: GdriveFile =
- serde_json::from_slice(<span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span>.unwrap()).unwrap();
- <span class="kw">let </span>root_id =
String::from(body_value.id.as_str());
- root_id
- }
-
- <span class="kw">async fn </span>get_file_id_by_path(<span
class="kw-2">&</span><span class="self">self</span>, file_path: <span
class="kw-2">&</span>str) -> String {
- <span class="kw">let </span>path = build_rooted_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, file_path);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
-
- <span class="kw">let </span><span class="kw-2">mut </span>parent_id =
<span class="self">self</span>.get_abs_root_id().<span class="kw">await</span>;
- <span class="kw">let </span>file_path_items: Vec<<span
class="kw-2">&</span>str> = path.split(<span
class="string">'/'</span>).filter(|<span class="kw-2">&</span>x|
!x.is_empty()).collect();
-
- <span class="kw">for </span>(i, item) <span class="kw">in
</span>file_path_items.iter().enumerate() {
- <span class="kw">let </span><span class="kw-2">mut </span>query =
<span class="macro">format!</span>(
- <span class="string">"name = '{}' and parents =
'{}' and trashed = false"</span>,
- item, parent_id
- );
- <span class="kw">if </span>i != file_path_items.len() - <span
class="number">1 </span>{
- query += <span class="string">"and mimeType =
'application/vnd.google-apps.folder'"</span>;
- }
- <span class="kw">let </span>query: String =
query.chars().filter(|c| !c.is_whitespace()).collect();
-
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span class="macro">format!</span>(
- <span
class="string">"https://www.googleapis.com/drive/v3/files?q={}"</span>,
- query
- ));
- req = req.header(header::AUTHORIZATION, <span
class="kw-2">&</span>auth_header_content);
- <span class="kw">let </span>req = req
- .body(AsyncBody::default())
- .map_err(new_request_build_error)
- .unwrap();
-
- <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span
class="kw">await</span>.unwrap();
-
- <span class="kw">let </span>body_value: GdriveFileList =
- serde_json::from_slice(<span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span>.unwrap()).unwrap();
- parent_id = String::from(body_value.files[<span
class="number">0</span>].id.as_str());
- }
-
- parent_id
- }
-
- <span class="kw">async fn </span>gdrive_get(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
- <span class="kw">let </span>url: String = <span
class="macro">format!</span>(
- <span
class="string">"https://www.googleapis.com/drive/v3/files/{}?alt=media"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
- </span>);
-
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span class="kw-2">&</span>url);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
- <span class="kw">let </span>req = req
- .body(AsyncBody::Empty)
- .map_err(new_request_build_error)<span
class="question-mark">?</span>;
-
- <span class="self">self</span>.client.send(req).<span class="kw">await
- </span>}
-
- <span class="kw">pub async fn </span>gdrive_update(
- <span class="kw-2">&</span><span class="self">self</span>,
- path: <span class="kw-2">&</span>str,
- size: <span class="prelude-ty">Option</span><usize>,
- content_type: <span class="prelude-ty">Option</span><<span
class="kw-2">&</span>str>,
- body: AsyncBody,
- ) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
- <span class="kw">let </span>url = <span class="macro">format!</span>(
- <span
class="string">"https://www.googleapis.com/upload/drive/v3/files/{}"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
- </span>);
-
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::patch(<span class="kw-2">&</span>url);
-
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
- <span class="kw">if let </span><span
class="prelude-val">Some</span>(size) = size {
- req = req.header(header::CONTENT_LENGTH, size)
- }
-
- <span class="kw">if let </span><span
class="prelude-val">Some</span>(mime) = content_type {
- req = req.header(header::CONTENT_TYPE, mime)
- }
-
- <span class="kw">let </span>req =
req.body(body).map_err(new_request_build_error)<span
class="question-mark">?</span>;
-
- <span class="self">self</span>.client.send(req).<span class="kw">await
- </span>}
-
- <span class="kw">async fn </span>gdrive_delete(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
- <span class="kw">let </span>url = <span class="macro">format!</span>(
- <span
class="string">"https://www.googleapis.com/drive/v3/files/{}"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
- </span>);
-
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::delete(<span class="kw-2">&</span>url);
-
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
- <span class="kw">let </span>req = req
- .body(AsyncBody::Empty)
- .map_err(new_request_build_error)<span
class="question-mark">?</span>;
-
- <span class="self">self</span>.client.send(req).<span class="kw">await
- </span>}
-}
-
-<span class="attr">#[derive(Deserialize)]
-</span><span class="kw">struct </span>GdriveFile {
- id: String,
-}
-
-<span class="attr">#[derive(Deserialize)]
-</span><span class="kw">struct </span>GdriveFileList {
- files: Vec<GdriveFile>,
-}
</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/gdrive/backend.rs.html
b/docs/rust/src/opendal/services/gdrive/core.rs.html
similarity index 51%
copy from docs/rust/src/opendal/services/gdrive/backend.rs.html
copy to docs/rust/src/opendal/services/gdrive/core.rs.html
index 4f82665d..c01f5bc2 100644
--- a/docs/rust/src/opendal/services/gdrive/backend.rs.html
+++ b/docs/rust/src/opendal/services/gdrive/core.rs.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="Source of
the Rust file `core/src/services/gdrive/backend.rs`."><title>backend.rs -
source</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" cr [...]
+<!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="Source of
the Rust file `core/src/services/gdrive/core.rs`."><title>core.rs -
source</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" crossori [...]
<a href="#2" id="2">2</a>
<a href="#3" id="3">3</a>
<a href="#4" id="4">4</a>
@@ -215,41 +215,6 @@
<a href="#215" id="215">215</a>
<a href="#216" id="216">216</a>
<a href="#217" id="217">217</a>
-<a href="#218" id="218">218</a>
-<a href="#219" id="219">219</a>
-<a href="#220" id="220">220</a>
-<a href="#221" id="221">221</a>
-<a href="#222" id="222">222</a>
-<a href="#223" id="223">223</a>
-<a href="#224" id="224">224</a>
-<a href="#225" id="225">225</a>
-<a href="#226" id="226">226</a>
-<a href="#227" id="227">227</a>
-<a href="#228" id="228">228</a>
-<a href="#229" id="229">229</a>
-<a href="#230" id="230">230</a>
-<a href="#231" id="231">231</a>
-<a href="#232" id="232">232</a>
-<a href="#233" id="233">233</a>
-<a href="#234" id="234">234</a>
-<a href="#235" id="235">235</a>
-<a href="#236" id="236">236</a>
-<a href="#237" id="237">237</a>
-<a href="#238" id="238">238</a>
-<a href="#239" id="239">239</a>
-<a href="#240" id="240">240</a>
-<a href="#241" id="241">241</a>
-<a href="#242" id="242">242</a>
-<a href="#243" id="243">243</a>
-<a href="#244" id="244">244</a>
-<a href="#245" id="245">245</a>
-<a href="#246" id="246">246</a>
-<a href="#247" id="247">247</a>
-<a href="#248" id="248">248</a>
-<a href="#249" id="249">249</a>
-<a href="#250" id="250">250</a>
-<a href="#251" id="251">251</a>
-<a href="#252" id="252">252</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
@@ -267,134 +232,89 @@
// specific language governing permissions and limitations
// under the License.
-</span><span class="kw">use </span>async_trait::async_trait;
-<span class="kw">use </span>http::{header, Request, Response, StatusCode};
-<span class="kw">use </span>serde::Deserialize;
+</span><span class="kw">use </span>std::collections::HashMap;
<span class="kw">use </span>std::fmt::Debug;
+<span class="kw">use </span>std::fmt::Formatter;
+<span class="kw">use </span>std::sync::Arc;
+
+<span class="kw">use </span><span
class="kw">crate</span>::raw::new_json_deserialize_error;
+<span class="kw">use </span><span
class="kw">crate</span>::raw::percent_encode_path;
+<span class="kw">use </span><span class="kw">crate</span>::raw::HttpClient;
+<span class="kw">use </span><span class="kw">crate</span>::Error;
+<span class="kw">use </span><span class="kw">crate</span>::ErrorKind;
+
+<span class="kw">use </span>http::request::Builder;
+<span class="kw">use </span>http::StatusCode;
+<span class="kw">use </span>http::{header, Request, Response};
+<span class="kw">use </span>serde::Deserialize;
+<span class="kw">use </span>tokio::sync::Mutex;
<span class="kw">use crate</span>::{
- ops::{OpDelete, OpRead, OpWrite},
- raw::{
- build_rooted_abs_path, new_request_build_error, parse_into_metadata,
Accessor,
- AccessorInfo, AsyncBody, HttpClient, IncomingAsyncBody, RpDelete,
RpRead, RpWrite,
- },
+ raw::{build_rooted_abs_path, new_request_build_error, AsyncBody,
IncomingAsyncBody},
types::Result,
- Capability, Error, ErrorKind,
};
-<span class="kw">use super</span>::{error::parse_error, writer::GdriveWriter};
+<span class="kw">use </span><span class="kw">super</span>::error::parse_error;
-<span class="attr">#[derive(Clone)]
-</span><span class="kw">pub struct </span>GdriveBackend {
- root: String,
- access_token: String,
- client: HttpClient,
+<span class="kw">pub struct </span>GdriveCore {
+ <span class="kw">pub </span>root: String,
+ <span class="kw">pub </span>access_token: String,
+ <span class="kw">pub </span>client: HttpClient,
+ <span class="kw">pub </span>path_cache: Arc<Mutex<HashMap<String,
String>>>,
}
-<span class="kw">impl </span>GdriveBackend {
- <span class="kw">pub</span>(<span class="kw">crate</span>) <span
class="kw">fn </span>new(root: String, access_token: String, http_client:
HttpClient) -> <span class="self">Self </span>{
- GdriveBackend {
- root,
- access_token,
- client: http_client,
- }
- }
-}
-
-<span class="kw">impl </span>Debug <span class="kw">for </span>GdriveBackend {
- <span class="kw">fn </span>fmt(<span class="kw-2">&</span><span
class="self">self</span>, f: <span class="kw-2">&mut
</span>std::fmt::Formatter<<span class="lifetime">'_</span>>) ->
std::fmt::Result {
- <span class="kw">let </span><span class="kw-2">mut </span>de =
f.debug_struct(<span class="string">"GoolgeDriveBackend"</span>);
+<span class="kw">impl </span>Debug <span class="kw">for </span>GdriveCore {
+ <span class="kw">fn </span>fmt(<span class="kw-2">&</span><span
class="self">self</span>, f: <span class="kw-2">&mut
</span>Formatter<<span class="lifetime">'_</span>>) ->
std::fmt::Result {
+ <span class="kw">let </span><span class="kw-2">mut </span>de =
f.debug_struct(<span class="string">"GdriveCore"</span>);
de.field(<span class="string">"root"</span>, <span
class="kw-2">&</span><span class="self">self</span>.root);
de.finish()
}
}
-<span class="attr">#[async_trait]
-</span><span class="kw">impl </span>Accessor <span class="kw">for
</span>GdriveBackend {
- <span class="kw">type </span>Reader = IncomingAsyncBody;
- <span class="kw">type </span>BlockingReader = ();
- <span class="kw">type </span>Writer = GdriveWriter;
- <span class="kw">type </span>BlockingWriter = ();
- <span class="kw">type </span>Pager = ();
- <span class="kw">type </span>BlockingPager = ();
-
- <span class="kw">fn </span>info(<span class="kw-2">&</span><span
class="self">self</span>) -> AccessorInfo {
- <span class="kw">let </span><span class="kw-2">mut </span>ma =
AccessorInfo::default();
- ma.set_scheme(<span class="kw">crate</span>::Scheme::Gdrive)
- .set_root(<span class="kw-2">&</span><span
class="self">self</span>.root)
- .set_capability(Capability {
- read: <span class="bool-val">true</span>,
- write: <span class="bool-val">true</span>,
- delete: <span class="bool-val">true</span>,
- ..Default::default()
- });
-
- ma
- }
+<span class="kw">impl </span>GdriveCore {
+ <span class="kw">async fn </span>get_abs_root_id(<span
class="kw-2">&</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><String> {
+ <span class="kw">let </span>root = <span
class="string">"root"</span>;
- <span class="kw">async fn </span>read(<span class="kw-2">&</span><span
class="self">self</span>, path: <span class="kw-2">&</span>str, _args:
OpRead) -> <span class="prelude-ty">Result</span><(RpRead, <span
class="self">Self</span>::Reader)> {
- <span class="kw">let </span>resp = <span
class="self">self</span>.gdrive_get(path).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">if let </span><span
class="prelude-val">Some</span>(root_id) = <span
class="self">self</span>.path_cache.lock().<span
class="kw">await</span>.get(root) {
+ <span class="kw">return </span><span
class="prelude-val">Ok</span>(root_id.to_string());
+ }
+
+ <span class="kw">let </span>req = <span class="self">self
+ </span>.sign(Request::get(
+ <span
class="string">"https://www.googleapis.com/drive/v3/files/root"</span>,
+ ))
+ .body(AsyncBody::Empty)
+ .map_err(new_request_build_error)<span
class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span class="kw">await</span><span
class="question-mark">?</span>;
<span class="kw">let </span>status = resp.status();
<span class="kw">match </span>status {
StatusCode::OK => {
- <span class="kw">let </span>meta = parse_into_metadata(path,
resp.headers())<span class="question-mark">?</span>;
- <span
class="prelude-val">Ok</span>((RpRead::with_metadata(meta), resp.into_body()))
- }
- <span class="kw">_ </span>=> <span
class="prelude-val">Err</span>(parse_error(resp).<span
class="kw">await</span><span class="question-mark">?</span>),
- }
- }
+ <span class="kw">let </span>resp_body = <span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="kw">async fn </span>write(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, args: OpWrite) -> <span
class="prelude-ty">Result</span><(RpWrite, <span
class="self">Self</span>::Writer)> {
- <span class="kw">if </span>args.content_length().is_none() {
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unsupported,
- <span class="string">"write without content length is not
supported"</span>,
- ));
- }
+ <span class="kw">let </span>gdrive_file: GdriveFile =
+
serde_json::from_slice(resp_body).map_err(new_json_deserialize_error)<span
class="question-mark">?</span>;
- <span class="prelude-val">Ok</span>((
- RpWrite::default(),
- GdriveWriter::new(<span class="self">self</span>.clone(), args,
String::from(path)),
- ))
- }
+ <span class="kw">let </span>root_id = gdrive_file.id;
- <span class="kw">async fn </span>delete(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, <span class="kw">_</span>: OpDelete) -> <span
class="prelude-ty">Result</span><RpDelete> {
- <span class="kw">let </span>resp = <span
class="self">self</span>.gdrive_delete(path).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span><span class="kw-2">mut
</span>cache_guard = <span class="self">self</span>.path_cache.lock().<span
class="kw">await</span>;
+ cache_guard.insert(root.to_owned(), root_id.clone());
- <span class="kw">let </span>status = resp.status();
-
- <span class="kw">match </span>status {
- StatusCode::NO_CONTENT => <span
class="prelude-val">Ok</span>(RpDelete::default()),
+ <span class="prelude-val">Ok</span>(root_id)
+ }
<span class="kw">_ </span>=> <span
class="prelude-val">Err</span>(parse_error(resp).<span
class="kw">await</span><span class="question-mark">?</span>),
}
}
-}
-
-<span class="kw">impl </span>GdriveBackend {
- <span class="kw">async fn </span>get_abs_root_id(<span
class="kw-2">&</span><span class="self">self</span>) -> String {
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span
class="string">"https://www.googleapis.com/drive/v3/files/root"</span>);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
- <span class="kw">let </span>req = req
- .body(AsyncBody::Empty)
- .map_err(new_request_build_error)
- .unwrap();
-
- <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span
class="kw">await</span>.unwrap();
-
- <span class="kw">let </span>body_value: GdriveFile =
- serde_json::from_slice(<span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span>.unwrap()).unwrap();
- <span class="kw">let </span>root_id =
String::from(body_value.id.as_str());
- root_id
- }
- <span class="kw">async fn </span>get_file_id_by_path(<span
class="kw-2">&</span><span class="self">self</span>, file_path: <span
class="kw-2">&</span>str) -> String {
+ <span class="kw">async fn </span>get_file_id_by_path(<span
class="kw-2">&</span><span class="self">self</span>, file_path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><String> {
<span class="kw">let </span>path = build_rooted_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, file_path);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- <span class="kw">let </span><span class="kw-2">mut </span>parent_id =
<span class="self">self</span>.get_abs_root_id().<span class="kw">await</span>;
+ <span class="kw">if let </span><span
class="prelude-val">Some</span>(file_id) = <span
class="self">self</span>.path_cache.lock().<span
class="kw">await</span>.get(<span class="kw-2">&</span>path) {
+ <span class="kw">return </span><span
class="prelude-val">Ok</span>(file_id.to_string());
+ }
+
+ <span class="kw">let </span><span class="kw-2">mut </span>parent_id =
<span class="self">self</span>.get_abs_root_id().<span
class="kw">await</span><span class="question-mark">?</span>;
<span class="kw">let </span>file_path_items: Vec<<span
class="kw-2">&</span>str> = path.split(<span
class="string">'/'</span>).filter(|<span class="kw-2">&</span>x|
!x.is_empty()).collect();
<span class="kw">for </span>(i, item) <span class="kw">in
</span>file_path_items.iter().enumerate() {
@@ -405,39 +325,48 @@
<span class="kw">if </span>i != file_path_items.len() - <span
class="number">1 </span>{
query += <span class="string">"and mimeType =
'application/vnd.google-apps.folder'"</span>;
}
- <span class="kw">let </span>query: String =
query.chars().filter(|c| !c.is_whitespace()).collect();
-
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span class="macro">format!</span>(
- <span
class="string">"https://www.googleapis.com/drive/v3/files?q={}"</span>,
- query
- ));
- req = req.header(header::AUTHORIZATION, <span
class="kw-2">&</span>auth_header_content);
- <span class="kw">let </span>req = req
+
+ <span class="kw">let </span>req = <span class="self">self
+ </span>.sign(Request::get(<span class="macro">format!</span>(
+ <span
class="string">"https://www.googleapis.com/drive/v3/files?q={}"</span>,
+ percent_encode_path(<span class="kw-2">&</span>query)
+ )))
.body(AsyncBody::default())
- .map_err(new_request_build_error)
- .unwrap();
+ .map_err(new_request_build_error)<span
class="question-mark">?</span>;
- <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span
class="kw">await</span>.unwrap();
+ <span class="kw">let </span>resp = <span
class="self">self</span>.client.send(req).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>status = resp.status();
- <span class="kw">let </span>body_value: GdriveFileList =
- serde_json::from_slice(<span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span>.unwrap()).unwrap();
- parent_id = String::from(body_value.files[<span
class="number">0</span>].id.as_str());
+ <span class="kw">if </span>status == StatusCode::OK {
+ <span class="kw">let </span>resp_body = <span
class="kw-2">&</span>resp.into_body().bytes().<span
class="kw">await</span><span class="question-mark">?</span>;
+
+ <span class="kw">let </span>gdrive_file_list: GdriveFileList =
+
serde_json::from_slice(resp_body).map_err(new_json_deserialize_error)<span
class="question-mark">?</span>;
+
+ <span class="kw">if </span>gdrive_file_list.files.len() !=
<span class="number">1 </span>{
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::Unexpected, <span
class="kw-2">&</span><span class="macro">format!</span>(<span
class="string">"Please ensure that the file corresponding to the path
exists and is unique. The response body is {}"</span>,
String::from_utf8_lossy(resp_body))));
+ }
+
+ parent_id = gdrive_file_list.files[<span
class="number">0</span>].id.clone();
+ } <span class="kw">else </span>{
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(parse_error(resp).<span
class="kw">await</span><span class="question-mark">?</span>);
+ }
}
- parent_id
+ <span class="kw">let </span><span class="kw-2">mut </span>cache_guard
= <span class="self">self</span>.path_cache.lock().<span
class="kw">await</span>;
+ cache_guard.insert(path, parent_id.clone());
+
+ <span class="prelude-val">Ok</span>(parent_id)
}
- <span class="kw">async fn </span>gdrive_get(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
+ <span class="kw">pub async fn </span>gdrive_get(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
<span class="kw">let </span>url: String = <span
class="macro">format!</span>(
<span
class="string">"https://www.googleapis.com/drive/v3/files/{}?alt=media"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
+ <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await</span><span class="question-mark">?
</span>);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::get(<span class="kw-2">&</span>url);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
- <span class="kw">let </span>req = req
+ <span class="kw">let </span>req = <span class="self">self
+ </span>.sign(Request::get(<span class="kw-2">&</span>url))
.body(AsyncBody::Empty)
.map_err(new_request_build_error)<span
class="question-mark">?</span>;
@@ -453,14 +382,11 @@
) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
<span class="kw">let </span>url = <span class="macro">format!</span>(
<span
class="string">"https://www.googleapis.com/upload/drive/v3/files/{}"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
+ <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await</span><span class="question-mark">?
</span>);
<span class="kw">let </span><span class="kw-2">mut </span>req =
Request::patch(<span class="kw-2">&</span>url);
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
<span class="kw">if let </span><span
class="prelude-val">Some</span>(size) = size {
req = req.header(header::CONTENT_LENGTH, size)
}
@@ -469,36 +395,40 @@
req = req.header(header::CONTENT_TYPE, mime)
}
- <span class="kw">let </span>req =
req.body(body).map_err(new_request_build_error)<span
class="question-mark">?</span>;
+ <span class="kw">let </span>req = <span
class="self">self</span>.sign(req).body(body).map_err(new_request_build_error)<span
class="question-mark">?</span>;
<span class="self">self</span>.client.send(req).<span class="kw">await
</span>}
- <span class="kw">async fn </span>gdrive_delete(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
+ <span class="kw">pub async fn </span>gdrive_delete(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
<span class="kw">let </span>url = <span class="macro">format!</span>(
<span
class="string">"https://www.googleapis.com/drive/v3/files/{}"</span>,
- <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await
+ <span class="self">self</span>.get_file_id_by_path(path).<span
class="kw">await</span><span class="question-mark">?
</span>);
- <span class="kw">let </span><span class="kw-2">mut </span>req =
Request::delete(<span class="kw-2">&</span>url);
-
- <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
- req = req.header(header::AUTHORIZATION, auth_header_content);
-
- <span class="kw">let </span>req = req
+ <span class="kw">let </span>req = <span class="self">self
+ </span>.sign(Request::delete(<span class="kw-2">&</span>url))
.body(AsyncBody::Empty)
.map_err(new_request_build_error)<span
class="question-mark">?</span>;
<span class="self">self</span>.client.send(req).<span class="kw">await
</span>}
+
+ <span class="kw">fn </span>sign(<span class="kw-2">&</span><span
class="self">self</span>, <span class="kw-2">mut </span>req: Builder) ->
Builder {
+ <span class="kw">let </span>auth_header_content = <span
class="macro">format!</span>(<span class="string">"Bearer {}"</span>,
<span class="self">self</span>.access_token);
+ req = req.header(header::AUTHORIZATION, auth_header_content);
+ req
+ }
}
-<span class="attr">#[derive(Deserialize)]
+<span class="comment">// refer to
https://developers.google.com/drive/api/reference/rest/v3/files#File
+</span><span class="attr">#[derive(Deserialize)]
</span><span class="kw">struct </span>GdriveFile {
id: String,
}
-<span class="attr">#[derive(Deserialize)]
+<span class="comment">// refer to
https://developers.google.com/drive/api/reference/rest/v3/files/list
+</span><span class="attr">#[derive(Deserialize)]
</span><span class="kw">struct </span>GdriveFileList {
files: Vec<GdriveFile>,
}
diff --git a/docs/rust/src/opendal/services/gdrive/mod.rs.html
b/docs/rust/src/opendal/services/gdrive/mod.rs.html
index b24a28fe..ba737208 100644
--- a/docs/rust/src/opendal/services/gdrive/mod.rs.html
+++ b/docs/rust/src/opendal/services/gdrive/mod.rs.html
@@ -21,6 +21,7 @@
<a href="#21" id="21">21</a>
<a href="#22" id="22">22</a>
<a href="#23" id="23">23</a>
+<a href="#24" id="24">24</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
@@ -40,6 +41,7 @@
</span><span class="kw">mod </span>backend;
<span class="kw">mod </span>builder;
+<span class="kw">mod </span>core;
<span class="kw">mod </span>error;
<span class="kw">pub use </span>builder::GdriveBuilder <span class="kw">as
</span>Gdrive;
diff --git a/docs/rust/src/opendal/services/gdrive/writer.rs.html
b/docs/rust/src/opendal/services/gdrive/writer.rs.html
index 545a4f88..d83356f5 100644
--- a/docs/rust/src/opendal/services/gdrive/writer.rs.html
+++ b/docs/rust/src/opendal/services/gdrive/writer.rs.html
@@ -70,6 +70,7 @@
<a href="#70" id="70">70</a>
<a href="#71" id="71">71</a>
<a href="#72" id="72">72</a>
+<a href="#73" id="73">73</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
@@ -87,26 +88,27 @@
// specific language governing permissions and limitations
// under the License.
-</span><span class="kw">use </span>async_trait::async_trait;
+</span><span class="kw">use </span>std::sync::Arc;
+
+<span class="kw">use </span>async_trait::async_trait;
<span class="kw">use </span>bytes::Bytes;
<span class="kw">use </span>http::StatusCode;
-<span class="kw">use </span><span
class="kw">super</span>::backend::GdriveBackend;
+<span class="kw">use </span><span class="kw">super</span>::core::GdriveCore;
<span class="kw">use </span><span class="kw">super</span>::error::parse_error;
<span class="kw">use </span><span class="kw">crate</span>::ops::OpWrite;
<span class="kw">use </span><span class="kw">crate</span>::raw::<span
class="kw-2">*</span>;
<span class="kw">use crate</span>::<span class="kw-2">*</span>;
<span class="kw">pub struct </span>GdriveWriter {
- backend: GdriveBackend,
-
+ core: Arc<GdriveCore>,
op: OpWrite,
path: String,
}
<span class="kw">impl </span>GdriveWriter {
- <span class="kw">pub fn </span>new(backend: GdriveBackend, op: OpWrite,
path: String) -> <span class="self">Self </span>{
- GdriveWriter { backend, op, path }
+ <span class="kw">pub fn </span>new(core: Arc<GdriveCore>, op:
OpWrite, path: String) -> <span class="self">Self </span>{
+ GdriveWriter { core, op, path }
}
}
@@ -114,7 +116,7 @@
</span><span class="kw">impl </span>oio::Write <span class="kw">for
</span>GdriveWriter {
<span class="kw">async fn </span>write(<span class="kw-2">&mut
</span><span class="self">self</span>, bs: Bytes) -> <span
class="prelude-ty">Result</span><()> {
<span class="kw">let </span>resp = <span class="self">self
- </span>.backend
+ </span>.core
.gdrive_update(
<span class="kw-2">&</span><span
class="self">self</span>.path,
<span class="prelude-val">Some</span>(bs.len()),
diff --git a/docs/vision/index.html b/docs/vision/index.html
index 21979fbd..6ae30d60 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.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.a5bd7455.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 f0854a5f..22f54f38 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.f2bb17dd.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.a5bd7455.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.f2bb17dd.js"></script>
+<script src="/assets/js/runtime~main.a5bd7455.js"></script>
<script src="/assets/js/main.e8563114.js"></script>
</body>
</html>
\ No newline at end of file