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 30c2ea66 deploy: e82934283f43f229acf76d151d0eedd6379d6078
30c2ea66 is described below
commit 30c2ea66f8269b24ed1dde61e2bc2e9823475d32
Author: Xuanwo <[email protected]>
AuthorDate: Thu Apr 13 12:00:17 2023 +0000
deploy: e82934283f43f229acf76d151d0eedd6379d6078
---
404.html | 4 +-
.../{1db64337.cb12b155.js => 1db64337.ae3b5f34.js} | 2 +-
...e~main.7d828908.js => runtime~main.0e95f8a0.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/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/overview/index.html | 6 +-
docs/python/opendal.html | 50 +--
docs/python/search.js | 2 +-
docs/rust/opendal/services/struct.Webhdfs.html | 20 +-
docs/rust/opendal/trait.Builder.html | 2 +-
.../src/opendal/services/webhdfs/backend.rs.html | 424 ++++++---------------
.../src/opendal/services/webhdfs/message.rs.html | 40 +-
.../src/opendal/services/webhdfs/pager.rs.html | 26 +-
.../src/opendal/services/webhdfs/writer.rs.html | 2 +-
index.html | 4 +-
24 files changed, 249 insertions(+), 449 deletions(-)
diff --git a/404.html b/404.html
index e416e877..2f7d00d3 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/assets/js/1db64337.cb12b155.js b/assets/js/1db64337.ae3b5f34.js
similarity index 59%
rename from assets/js/1db64337.cb12b155.js
rename to assets/js/1db64337.ae3b5f34.js
index 4653c9ab..9f801978 100644
--- a/assets/js/1db64337.cb12b155.js
+++ b/assets/js/1db64337.ae3b5f34.js
@@ -1 +1 @@
-"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[372],{6777:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>n,contentTitle:()=>a,default:()=>l,frontMatter:()=>s,metadata:()=>d,toc:()=>p});var
o=i(7462),r=(i(7294),i(3905));const
s={sidebar_position:1,title:"Overview"},a=void
0,d={unversionedId:"overview",id:"overview",title:"Overview",description:"",source:"@site/docs/overview.md",sourceDirName:".",slug:"/overview",permalink:"/docs/overview",draft:!1,editUrl:
[...]
\ No newline at end of file
+"use
strict";(self.webpackChunkopendal_website=self.webpackChunkopendal_website||[]).push([[372],{6777:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>n,contentTitle:()=>a,default:()=>l,frontMatter:()=>s,metadata:()=>d,toc:()=>p});var
o=i(7462),r=(i(7294),i(3905));const
s={sidebar_position:1,title:"Overview"},a=void
0,d={unversionedId:"overview",id:"overview",title:"Overview",description:"",source:"@site/docs/overview.md",sourceDirName:".",slug:"/overview",permalink:"/docs/overview",draft:!1,editUrl:
[...]
\ No newline at end of file
diff --git a/assets/js/runtime~main.7d828908.js
b/assets/js/runtime~main.0e95f8a0.js
similarity index 97%
rename from assets/js/runtime~main.7d828908.js
rename to assets/js/runtime~main.0e95f8a0.js
index 12e1845b..1481d1d5 100644
--- a/assets/js/runtime~main.7d828908.js
+++ b/assets/js/runtime~main.0e95f8a0.js
@@ -1 +1 @@
-(()=>{"use strict";var e,t,r,o,a,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,o,a)=>{if(!r){var
n=1/0;for(b=0;b<e.length;b++){r=e[b][0],o=e[b][1],a=e[b][2];for(var
f=!0,i=0;i<r.length;i++)(!1&a||n>=a)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(f=!1,a<n&&(n=a));if(f){e.splice(b--,1);var
d=o();void 0!==d&&(t=d)}}return t}a=a||0;for(var b=e.length;b>0&&e[b-1] [...]
\ No newline at end of file
+(()=>{"use strict";var e,t,r,o,a,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,o,a)=>{if(!r){var
n=1/0;for(b=0;b<e.length;b++){r=e[b][0],o=e[b][1],a=e[b][2];for(var
f=!0,i=0;i<r.length;i++)(!1&a||n>=a)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(f=!1,a<n&&(n=a));if(f){e.splice(b--,1);var
d=o();void 0!==d&&(t=d)}}return t}a=a||0;for(var b=e.length;b>0&&e[b-1] [...]
\ No newline at end of file
diff --git a/blog/archive/index.html b/blog/archive/index.html
index 9715a341..92b404de 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/index.html b/blog/index.html
index b251b230..b9510f1f 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.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 95ef4720..74355dc0 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.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 daff337a..b12217bd 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/blog/tags/index.html b/blog/tags/index.html
index f22b946c..96215467 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.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 24d445e9..37c25f2d 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/21a45c7/bindings/nodejs/index.d.ts#L413">index.d.ts:413</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/e829342/bindings/nodejs/index.d.ts#L413">index.d.ts:413</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/21a45c7/bindings/nodejs/index.d.ts#L414">index.d.ts:414</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/e829342/bindings/nodejs/index.d.ts#L414">index.d.ts:414</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 ebb4dc36..cad51165 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/21a45c7/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/e829342/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/21a45c7/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/e829342/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 a2252c5b..00ebcc34 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/21a45c7/bindings/nodejs/index.d.ts#L402">index.d.ts:402</a></li></ul></aside>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/e829342/bindings/nodejs/index.d.ts#L402">index.d.ts:402</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/21a45c7/bindings/nodejs/index.d.ts#L411">index.d.ts:411</a></li></ul></aside></li></ul></section></section></div>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/e829342/bindings/nodejs/index.d.ts#L411">index.d.ts:411</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 10d3c825..4adfe032 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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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">
@@ -113,7 +113,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/21a45c7/bindings/nodejs/index.d.ts#L400">index.d.ts:400</a></li></ul></aside></li></ul></section></section>
+<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/e829342/bindings/nodejs/index.d.ts#L400">index.d.ts:400</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>
@@ -125,7 +125,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/21a45c7/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/e829342/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">
@@ -135,7 +135,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/21a45c7/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/e829342/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 fab1da50..2e8b7c0e 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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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 <a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/21a45c7/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/e829342/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 <a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/21a45c7/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/e829342/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 <a
href="../interfaces/PresignedRequest.html" class="tsd-signature-type"
data-tsd-kind="Interface">PresignedRequest</a></h4><aside class="tsd-sources">
<ul>
-<li>Defined in <a
href="https://github.com/apache/incubator-opendal/blob/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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 2edda673..6d8d9662 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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/21a45c7/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/e829342/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/overview/index.html b/docs/overview/index.html
index 2e4fd8ed..4c1a96a6 100644
--- a/docs/overview/index.html
+++ b/docs/overview/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/overview"><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 [...]
<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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.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.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/docs/python/opendal.html b/docs/python/opendal.html
index ea803be7..ffc5f469 100644
--- a/docs/python/opendal.html
+++ b/docs/python/opendal.html
@@ -156,19 +156,19 @@
<a class="class" href="#Metadata">Metadata</a>
<ul class="memberlist">
<li>
- <a class="variable"
href="#Metadata.content_length">content_length</a>
+ <a class="variable"
href="#Metadata.content_type">content_type</a>
</li>
<li>
- <a class="variable"
href="#Metadata.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_md5">content_md5</a>
+ <a class="variable"
href="#Metadata.content_length">content_length</a>
</li>
<li>
- <a class="variable"
href="#Metadata.etag">etag</a>
+ <a class="variable"
href="#Metadata.content_md5">content_md5</a>
</li>
</ul>
@@ -852,67 +852,67 @@ The default value for whence is <code>SEEK_SET</code>.
Values for <code>whence</
- <div id="Metadata.content_length"
class="classattr">
+ <div id="Metadata.content_type" class="classattr">
<div class="attr variable">
- <span class="name">content_length</span><span class="annotation">:
int</span>
+ <span class="name">content_type</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.content_length"></a>
+ <a class="headerlink" href="#Metadata.content_type"></a>
- <div class="docstring"><p>Content length of this entry.</p>
+ <div class="docstring"><p>Content Type of this entry.</p>
</div>
</div>
- <div id="Metadata.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>
</div>
- <div id="Metadata.content_md5" class="classattr">
+ <div id="Metadata.content_length"
class="classattr">
<div class="attr variable">
- <span class="name">content_md5</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">content_length</span><span class="annotation">:
int</span>
</div>
- <a class="headerlink" href="#Metadata.content_md5"></a>
+ <a class="headerlink" href="#Metadata.content_length"></a>
- <div class="docstring"><p>Content MD5 of this entry.</p>
+ <div class="docstring"><p>Content length of this entry.</p>
</div>
</div>
- <div id="Metadata.etag" class="classattr">
+ <div id="Metadata.content_md5" class="classattr">
<div class="attr variable">
- <span class="name">etag</span><span class="annotation">:
Optional[str]</span>
+ <span class="name">content_md5</span><span class="annotation">:
Optional[str]</span>
</div>
- <a class="headerlink" href="#Metadata.etag"></a>
+ <a class="headerlink" href="#Metadata.content_md5"></a>
- <div class="docstring"><p>ETag of this entry.</p>
+ <div class="docstring"><p>Content MD5 of this entry.</p>
</div>
diff --git a/docs/python/search.js b/docs/python/search.js
index 0bbfe426..7f845d28 100644
--- a/docs/python/search.js
+++ b/docs/python/search.js
@@ -1,6 +1,6 @@
window.pdocSearch = (function(){
/** elasticlunr - http://weixsong.github.io * Copyright (C) 2017 Oliver
Nightingale * Copyright (C) 2017 Wei Song * MIT Licensed */!function(){function
e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n
in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new
t.Index;return
n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return
function(t){e.console&&console.wa [...]
- /** pdoc search index */const docs = {"version": "0.9.5", "fields":
["qualname", "fullname", "annotation", "default_value", "signature", "bases",
"doc"], "ref": "fullname", "documentStore": {"docs": {"opendal": {"fullname":
"opendal", "modulename": "opendal", "kind": "module", "doc": "<p>OpenDAL Python
binding</p>\n\n<h2 id=\"installation\">Installation</h2>\n\n<div
class=\"pdoc-code codehilite\">\n<pre><span></span><code>pip<span class=\"w\">
</span>install<span class=\"w\"> </span> [...]
+ /** pdoc search index */const docs = {"version": "0.9.5", "fields":
["qualname", "fullname", "annotation", "default_value", "signature", "bases",
"doc"], "ref": "fullname", "documentStore": {"docs": {"opendal": {"fullname":
"opendal", "modulename": "opendal", "kind": "module", "doc": "<p>OpenDAL Python
binding</p>\n\n<h2 id=\"installation\">Installation</h2>\n\n<div
class=\"pdoc-code codehilite\">\n<pre><span></span><code>pip<span class=\"w\">
</span>install<span class=\"w\"> </span> [...]
// mirrored in build-search-index.js (part 1)
// Also split on html tags. this is a cheap heuristic, but good enough.
diff --git a/docs/rust/opendal/services/struct.Webhdfs.html
b/docs/rust/opendal/services/struct.Webhdfs.html
index 1ad8d63e..1116d300 100644
--- a/docs/rust/opendal/services/struct.Webhdfs.html
+++ b/docs/rust/opendal/services/struct.Webhdfs.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="WebHDFS’s
REST API support."><meta name="keywords" content="rust, rustlang, rust-lang,
Webhdfs"><title>Webhdfs in opendal::services - Rust</title><link rel="preload"
as="font" type="font/woff2" crossorigin
href="../../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link
re [...]
+<!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="WebHDFS’s
REST API support."><meta name="keywords" content="rust, rustlang, rust-lang,
Webhdfs"><title>Webhdfs in opendal::services - Rust</title><link rel="preload"
as="font" type="font/woff2" crossorigin
href="../../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link
re [...]
<p>There two implementations of WebHDFS REST API:</p>
<ul>
<li>Native via HDFS Namenode and Datanode, data are transferred between nodes
directly.</li>
@@ -57,12 +57,11 @@ blocking</li>
<span class="prelude-val">Ok</span>(())
}</code></pre></div>
-</div></details><h2 id="implementations"
class="small-section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-WebhdfsBuilder"
class="impl has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#127-173">source</a><a
href="#impl-WebhdfsBuilder" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href [...]
+</div></details><h2 id="implementations"
class="small-section-header">Implementations<a href="#implementations"
class="anchor">§</a></h2><div id="implementations-list"><details class="toggle
implementors-toggle" open><summary><section id="impl-WebhdfsBuilder"
class="impl has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#122-168">source</a><a
href="#impl-WebhdfsBuilder" class="anchor">§</a><h3 class="code-header">impl <a
class="struct" href [...]
<p>All operations will happen under this root</p>
<h5 id="note"><a href="#note">Note</a></h5>
-<p>The root will be automatically created if not exists.
-If the root is occupied by a file, building of directory will fail</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.endpoint" class="method has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#154-160">source</a><h4
class="code-header">pub fn <a href="#method.endpoint"
class="fn">endpoint</a>(&mut self, endpoint: &<a class="primitive"
href="https://doc.rust-lang.org/1.68.2/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust-lang.or [...]
+<p>The root will be automatically created if not exists.</p>
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.endpoint" class="method has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#148-154">source</a><h4
class="code-header">pub fn <a href="#method.endpoint"
class="fn">endpoint</a>(&mut self, endpoint: &<a class="primitive"
href="https://doc.rust-lang.org/1.68.2/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust-lang.or [...]
default to <code>http://127.0.0.1:9870</code></p>
<p>Endpoints should be full uri, e.g.</p>
<ul>
@@ -71,18 +70,17 @@ default to <code>http://127.0.0.1:9870</code></p>
</ul>
<p>If user inputs endpoint without scheme, we will
prepend <code>http://</code> to it.</p>
-</div></details><details class="toggle method-toggle" open><summary><section
id="method.delegation" class="method has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#167-172">source</a><h4
class="code-header">pub fn <a href="#method.delegation"
class="fn">delegation</a>(&mut self, delegation: &<a class="primitive"
href="https://doc.rust-lang.org/1.68.2/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust [...]
+</div></details><details class="toggle method-toggle" open><summary><section
id="method.delegation" class="method has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#162-167">source</a><h4
class="code-header">pub fn <a href="#method.delegation"
class="fn">delegation</a>(&mut self, delegation: &<a class="primitive"
href="https://doc.rust-lang.org/1.68.2/std/primitive.str.html">str</a>) ->
<a class="primitive" href="https://doc.rust [...]
used for authentication</p>
<h5 id="note-1"><a href="#note-1">Note</a></h5>
<p>The builder prefers using delegation token over username.
If both are set, delegation token will be used.</p>
-</div></details></div></details></div><h2 id="trait-implementations"
class="small-section-header">Trait Implementations<a
href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Builder-for-WebhdfsBuilder" class="impl
has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#184-245">source</a><a
href="#impl-Builder-for-WebhdfsBuilder" c [...]
-<h5 id="note-2"><a href="#note-2">Note:</a></h5>
+</div></details></div></details></div><h2 id="trait-implementations"
class="small-section-header">Trait Implementations<a
href="#trait-implementations" class="anchor">§</a></h2><div
id="trait-implementations-list"><details class="toggle implementors-toggle"
open><summary><section id="impl-Builder-for-WebhdfsBuilder" class="impl
has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#170-227">source</a><a
href="#impl-Builder-for-WebhdfsBuilder" c [...]
+<h5 id="note-2"><a href="#note-2">Note</a></h5>
<p>when building backend, the built backend will check if the root directory
exits.
-if the directory does not exits, the directory will be automatically created
-if the root path is occupied by a file, a failure will be returned</p>
-</div></details><details class="toggle" open><summary><section
id="associatedconstant.SCHEME" class="associatedconstant trait-impl
has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#185">source</a><a
href="#associatedconstant.SCHEME" class="anchor">§</a><h4
class="code-header">const <a
href="../trait.Builder.html#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="../enum.Scheme.html"
title="enum opendal::Scheme">S [...]
+if the directory does not exits, the directory will be automatically
created</p>
+</div></details><details class="toggle" open><summary><section
id="associatedconstant.SCHEME" class="associatedconstant trait-impl
has-srclink"><a class="srclink rightside"
href="../../src/opendal/services/webhdfs/backend.rs.html#171">source</a><a
href="#associatedconstant.SCHEME" class="anchor">§</a><h4
class="code-header">const <a
href="../trait.Builder.html#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="../enum.Scheme.html"
title="enum opendal::Scheme">S [...]
</div></details></div></details><details class="toggle
implementors-toggle"><summary><section id="impl-Instrument-for-WebhdfsBuilder"
class="impl has-srclink"><a class="srclink rightside"
href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><a
href="#impl-Instrument-for-WebhdfsBuilder" class="anchor">§</a><h3
class="code-header">impl<T> <a class="trait"
href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html"
title="trait tracing: [...]
<code>Instrumented</code> wrapper. <a
href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read
more</a></div></details><details class="toggle method-toggle"
open><summary><section id="method.in_current_span" class="method trait-impl
has-srclink"><a class="srclink rightside"
href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><a
href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn
<a href= [...]
<code>Instrumented</code> wrapper. <a
href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span">Read
more</a></div></details></div></details><details class="toggle
implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-WebhdfsBuilder"
class="impl has-srclink"><a class="srclink rightside"
href="https://doc.rust-lang.org/1.68.2/src/core/convert/mod.rs.html#717">source</a><a
href="#impl-Into%3CU%3E-for-WebhdfsBuilder" class="anchor">§</a> [...]
diff --git a/docs/rust/opendal/trait.Builder.html
b/docs/rust/opendal/trait.Builder.html
index 21d7a20e..a9714011 100644
--- a/docs/rust/opendal/trait.Builder.html
+++ b/docs/rust/opendal/trait.Builder.html
@@ -19,4 +19,4 @@
</div></details></div><h2 id="provided-methods"
class="small-section-header">Provided Methods<a href="#provided-methods"
class="anchor">§</a></h2><div class="methods"><details class="toggle
method-toggle" open><summary><section id="method.from_iter" class="method
has-srclink"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#37-42">source</a><h4
class="code-header">fn <a href="#method.from_iter"
class="fn">from_iter</a>(iter: impl <a class="trait" href="https://doc. [...]
</div></details><details class="toggle method-toggle" open><summary><section
id="method.from_env" class="method has-srclink"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#45-59">source</a><h4
class="code-header">fn <a href="#method.from_env" class="fn">from_env</a>()
-> Self<span class="where
fmt-newline">where<br> Self: <a class="trait"
href="https://doc.rust-lang.org/1.68.2/core/marker/trait.Sized.html"
title="trait core::marker::Size [...]
</div></details></div><h2 id="foreign-impls"
class="small-section-header">Implementations on Foreign Types<a
href="#foreign-impls" class="anchor">§</a></h2><details class="toggle
implementors-toggle"><summary><section id="impl-Builder-for-()" class="impl
has-srclink"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#66-76">source</a><a
href="#impl-Builder-for-()" class="anchor">§</a><h3 class="code-header">impl <a
class="trait" href="trait.Builder.html" title="trait [...]
-</div><div class="impl-items"><section id="associatedconstant.SCHEME-1"
class="associatedconstant trait-impl has-srclink"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#67">source</a><a
href="#associatedconstant.SCHEME-1" class="anchor">§</a><h4
class="code-header">const <a href="#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="enum.Scheme.html"
title="enum opendal::Scheme">Scheme</a> = _</h4></section><section
id="associatedtype.Acc [...]
\ No newline at end of file
+</div><div class="impl-items"><section id="associatedconstant.SCHEME-1"
class="associatedconstant trait-impl has-srclink"><a class="srclink rightside"
href="../src/opendal/types/builder.rs.html#67">source</a><a
href="#associatedconstant.SCHEME-1" class="anchor">§</a><h4
class="code-header">const <a href="#associatedconstant.SCHEME"
class="constant">SCHEME</a>: <a class="enum" href="enum.Scheme.html"
title="enum opendal::Scheme">Scheme</a> = _</h4></section><section
id="associatedtype.Acc [...]
\ No newline at end of file
diff --git a/docs/rust/src/opendal/services/webhdfs/backend.rs.html
b/docs/rust/src/opendal/services/webhdfs/backend.rs.html
index 92b28478..8cba733e 100644
--- a/docs/rust/src/opendal/services/webhdfs/backend.rs.html
+++ b/docs/rust/src/opendal/services/webhdfs/backend.rs.html
@@ -600,97 +600,6 @@
<a href="#600" id="600">600</a>
<a href="#601" id="601">601</a>
<a href="#602" id="602">602</a>
-<a href="#603" id="603">603</a>
-<a href="#604" id="604">604</a>
-<a href="#605" id="605">605</a>
-<a href="#606" id="606">606</a>
-<a href="#607" id="607">607</a>
-<a href="#608" id="608">608</a>
-<a href="#609" id="609">609</a>
-<a href="#610" id="610">610</a>
-<a href="#611" id="611">611</a>
-<a href="#612" id="612">612</a>
-<a href="#613" id="613">613</a>
-<a href="#614" id="614">614</a>
-<a href="#615" id="615">615</a>
-<a href="#616" id="616">616</a>
-<a href="#617" id="617">617</a>
-<a href="#618" id="618">618</a>
-<a href="#619" id="619">619</a>
-<a href="#620" id="620">620</a>
-<a href="#621" id="621">621</a>
-<a href="#622" id="622">622</a>
-<a href="#623" id="623">623</a>
-<a href="#624" id="624">624</a>
-<a href="#625" id="625">625</a>
-<a href="#626" id="626">626</a>
-<a href="#627" id="627">627</a>
-<a href="#628" id="628">628</a>
-<a href="#629" id="629">629</a>
-<a href="#630" id="630">630</a>
-<a href="#631" id="631">631</a>
-<a href="#632" id="632">632</a>
-<a href="#633" id="633">633</a>
-<a href="#634" id="634">634</a>
-<a href="#635" id="635">635</a>
-<a href="#636" id="636">636</a>
-<a href="#637" id="637">637</a>
-<a href="#638" id="638">638</a>
-<a href="#639" id="639">639</a>
-<a href="#640" id="640">640</a>
-<a href="#641" id="641">641</a>
-<a href="#642" id="642">642</a>
-<a href="#643" id="643">643</a>
-<a href="#644" id="644">644</a>
-<a href="#645" id="645">645</a>
-<a href="#646" id="646">646</a>
-<a href="#647" id="647">647</a>
-<a href="#648" id="648">648</a>
-<a href="#649" id="649">649</a>
-<a href="#650" id="650">650</a>
-<a href="#651" id="651">651</a>
-<a href="#652" id="652">652</a>
-<a href="#653" id="653">653</a>
-<a href="#654" id="654">654</a>
-<a href="#655" id="655">655</a>
-<a href="#656" id="656">656</a>
-<a href="#657" id="657">657</a>
-<a href="#658" id="658">658</a>
-<a href="#659" id="659">659</a>
-<a href="#660" id="660">660</a>
-<a href="#661" id="661">661</a>
-<a href="#662" id="662">662</a>
-<a href="#663" id="663">663</a>
-<a href="#664" id="664">664</a>
-<a href="#665" id="665">665</a>
-<a href="#666" id="666">666</a>
-<a href="#667" id="667">667</a>
-<a href="#668" id="668">668</a>
-<a href="#669" id="669">669</a>
-<a href="#670" id="670">670</a>
-<a href="#671" id="671">671</a>
-<a href="#672" id="672">672</a>
-<a href="#673" id="673">673</a>
-<a href="#674" id="674">674</a>
-<a href="#675" id="675">675</a>
-<a href="#676" id="676">676</a>
-<a href="#677" id="677">677</a>
-<a href="#678" id="678">678</a>
-<a href="#679" id="679">679</a>
-<a href="#680" id="680">680</a>
-<a href="#681" id="681">681</a>
-<a href="#682" id="682">682</a>
-<a href="#683" id="683">683</a>
-<a href="#684" id="684">684</a>
-<a href="#685" id="685">685</a>
-<a href="#686" id="686">686</a>
-<a href="#687" id="687">687</a>
-<a href="#688" id="688">688</a>
-<a href="#689" id="689">689</a>
-<a href="#690" id="690">690</a>
-<a href="#691" id="691">691</a>
-<a href="#692" id="692">692</a>
-<a href="#693" id="693">693</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
@@ -712,15 +621,12 @@
<span class="kw">use </span>std::collections::HashMap;
<span class="kw">use </span>async_trait::async_trait;
-<span class="kw">use </span>bytes::Buf;
<span class="kw">use </span>http::header::CONTENT_LENGTH;
<span class="kw">use </span>http::header::CONTENT_TYPE;
-<span class="kw">use </span>http::response::Parts;
<span class="kw">use </span>http::Request;
<span class="kw">use </span>http::Response;
<span class="kw">use </span>http::StatusCode;
<span class="kw">use </span>log::debug;
-<span class="kw">use </span>log::error;
<span class="kw">use </span>tokio::sync::OnceCell;
<span class="kw">use </span><span class="kw">super</span>::error::parse_error;
@@ -769,6 +675,7 @@
/// # Examples
///
/// ## Via Builder
+///
/// ```no_run
/// use std::sync::Arc;
///
@@ -807,13 +714,10 @@
<span class="kw">impl </span>Debug <span class="kw">for </span>WebhdfsBuilder {
<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>ds =
f.debug_struct(<span class="string">"Builder"</span>);
- ds.field(<span class="string">"root"</span>, <span
class="kw-2">&</span><span class="self">self</span>.root)
- .field(<span class="string">"endpoint"</span>, <span
class="kw-2">&</span><span class="self">self</span>.endpoint);
- <span class="kw">if </span><span
class="self">self</span>.delegation.is_some() {
- ds.field(<span class="string">"delegation"</span>, <span
class="kw-2">&</span><span
class="string">"<redacted>"</span>);
- }
- ds.finish()
+ f.debug_struct(<span class="string">"Builder"</span>)
+ .field(<span class="string">"root"</span>, <span
class="kw-2">&</span><span class="self">self</span>.root)
+ .field(<span class="string">"endpoint"</span>, <span
class="kw-2">&</span><span class="self">self</span>.endpoint)
+ .finish_non_exhaustive()
}
}
@@ -821,15 +725,14 @@
<span class="doccomment">/// Set the working directory of this backend
///
/// All operations will happen under this root
+ ///
/// # Note
+ ///
/// The root will be automatically created if not exists.
- /// If the root is occupied by a file, building of directory will fail
</span><span class="kw">pub fn </span>root(<span class="kw-2">&mut
</span><span class="self">self</span>, root: <span
class="kw-2">&</span>str) -> <span class="kw-2">&mut </span><span
class="self">Self </span>{
- <span class="self">self</span>.root = <span class="kw">if
</span>root.is_empty() {
- <span class="prelude-val">None
- </span>} <span class="kw">else </span>{
- <span class="prelude-val">Some</span>(root.to_string())
- };
+ <span class="kw">if </span>!root.is_empty() {
+ <span class="self">self</span>.root = <span
class="prelude-val">Some</span>(root.to_string())
+ }
<span class="self">self
</span>}
@@ -854,6 +757,7 @@
<span class="doccomment">/// Set the delegation token of this backend,
/// used for authentication
+ ///
/// # Note
/// The builder prefers using delegation token over username.
/// If both are set, delegation token will be used.
@@ -865,15 +769,6 @@
</span>}
}
-<span class="kw">impl </span>WebhdfsBuilder {
- <span class="kw">fn </span>auth_str(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Option</span><String> {
- <span class="kw">if let </span><span
class="prelude-val">Some</span>(dt) = <span
class="self">self</span>.delegation.take() {
- <span class="kw">return </span><span
class="prelude-val">Some</span>(<span class="macro">format!</span>(<span
class="string">"delegation_token={dt}"</span>));
- }
- <span class="prelude-val">None
- </span>}
-}
-
<span class="kw">impl </span>Builder <span class="kw">for
</span>WebhdfsBuilder {
<span class="kw">const </span>SCHEME: Scheme = Scheme::Webhdfs;
<span class="kw">type </span>Accessor = WebhdfsBackend;
@@ -881,28 +776,22 @@
<span class="kw">fn </span>from_map(map: HashMap<String, String>)
-> <span class="self">Self </span>{
<span class="kw">let </span><span class="kw-2">mut </span>builder =
WebhdfsBuilder::default();
- <span class="kw">for </span>(k, v) <span class="kw">in
</span>map.iter() {
- <span class="kw">let </span>v = v.as_str();
- <span class="kw">match </span>k.as_str() {
- <span class="string">"root" </span>=>
builder.root(v),
- <span class="string">"endpoint" </span>=>
builder.endpoint(v),
- <span class="string">"delegation" </span>=>
builder.delegation(v),
- <span class="kw">_ </span>=> <span
class="kw">continue</span>,
- };
- }
+ map.get(<span class="string">"root"</span>).map(|v|
builder.root(v));
+ map.get(<span class="string">"endpoint"</span>).map(|v|
builder.endpoint(v));
+ map.get(<span class="string">"delegation"</span>).map(|v|
builder.delegation(v));
builder
}
<span class="doccomment">/// build the backend
///
- /// # Note:
+ /// # Note
+ ///
/// when building backend, the built backend will check if the root
directory
/// exits.
/// if the directory does not exits, the directory will be automatically
created
- /// if the root path is occupied by a file, a failure will be returned
</span><span class="kw">fn </span>build(<span class="kw-2">&mut
</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><<span
class="self">Self</span>::Accessor> {
- <span class="macro">debug!</span>(<span class="string">"building
backend: {:?}"</span>, <span class="self">self</span>);
+ <span class="macro">debug!</span>(<span class="string">"start
building backend: {:?}"</span>, <span class="self">self</span>);
<span class="kw">let </span>root = normalize_root(<span
class="kw-2">&</span><span
class="self">self</span>.root.take().unwrap_or_default());
<span class="macro">debug!</span>(<span class="string">"backend
use root {root}"</span>);
@@ -920,19 +809,21 @@
};
<span class="macro">debug!</span>(<span class="string">"backend
use endpoint {}"</span>, endpoint);
- <span class="kw">let </span>auth = <span
class="self">self</span>.auth_str();
+ <span class="kw">let </span>auth = <span class="self">self
+ </span>.delegation
+ .take()
+ .map(|dt| <span class="macro">format!</span>(<span
class="string">"delegation_token={dt}"</span>));
+
<span class="kw">let </span>client = HttpClient::new()<span
class="question-mark">?</span>;
<span class="kw">let </span>backend = WebhdfsBackend {
- root: root.clone(),
+ root,
endpoint,
auth,
client,
root_checker: OnceCell::new(),
};
- <span class="macro">debug!</span>(<span class="string">"checking
working directory: {}"</span>, root);
-
<span class="prelude-val">Ok</span>(backend)
}
}
@@ -942,14 +833,17 @@
</span><span class="kw">pub struct </span>WebhdfsBackend {
root: String,
endpoint: String,
- <span class="kw">pub </span>client: HttpClient,
auth: <span class="prelude-ty">Option</span><String>,
root_checker: OnceCell<()>,
+
+ <span class="kw">pub </span>client: HttpClient,
}
<span class="kw">impl </span>WebhdfsBackend {
- <span class="comment">// create object or make a directory
- </span><span class="kw">pub async fn </span>webhdfs_create_object_req(
+ <span class="doccomment">/// create object or make a directory
+ ///
+ /// TODO: we should split it into mkdir and create
+ </span><span class="kw">pub async fn </span>webhdfs_create_object_request(
<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>,
@@ -1000,7 +894,11 @@
re_builder.body(body).map_err(new_request_build_error)
}
- <span class="kw">async fn </span>webhdfs_open_req(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, range: <span class="kw-2">&</span>BytesRange)
-> <span class="prelude-ty">Result</span><Request<AsyncBody>> {
+ <span class="kw">async fn </span>webhdfs_open_request(
+ <span class="kw-2">&</span><span class="self">self</span>,
+ path: <span class="kw-2">&</span>str,
+ range: <span class="kw-2">&</span>BytesRange,
+ ) -> <span
class="prelude-ty">Result</span><Request<AsyncBody>> {
<span class="kw">let </span>p = build_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, path);
<span class="kw">let </span><span class="kw-2">mut </span>url = <span
class="macro">format!</span>(
<span class="string">"{}/webhdfs/v1/{}?op=OPEN"</span>,
@@ -1008,40 +906,23 @@
percent_encode_path(<span class="kw-2">&</span>p),
);
<span class="kw">if let </span><span
class="prelude-val">Some</span>(auth) = <span class="kw-2">&</span><span
class="self">self</span>.auth {
- url += <span class="macro">format!</span>(<span
class="string">"&{auth}"</span>).as_str();
+ url += <span class="kw-2">&</span><span
class="macro">format!</span>(<span
class="string">"&{auth}"</span>);
}
- <span class="comment">// make a Webhdfs compatible bytes range
- //
- // Webhdfs does not support read from end
- // have to solve manually
- </span><span class="kw">let </span>range = <span class="kw">match
</span>(range.offset(), range.size()) {
- <span class="comment">// avoiding reading the whole file
- </span>(<span class="prelude-val">None</span>, <span
class="prelude-val">Some</span>(size)) => {
- <span class="macro">debug!</span>(<span
class="string">"converting bytes range to webhdfs compatible"</span>);
- <span class="kw">let </span>status = <span
class="self">self</span>.stat(path, OpStat::default()).<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="kw">let </span>total_size =
status.into_metadata().content_length();
- <span class="kw">let </span>offset = total_size - size;
- BytesRange::new(<span class="prelude-val">Some</span>(offset),
<span class="prelude-val">Some</span>(size))
- }
- <span class="kw">_ </span>=> <span class="kw-2">*</span>range,
- };
-
- <span class="kw">let </span>(offset, size) = (range.offset(),
range.size());
+ <span class="kw">if </span>!range.is_full() {
+ <span class="comment">// Webhdfs does not support read from end
+ </span><span class="kw">if </span>range.offset().is_none()
&& range.size().is_some() {
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
+ ErrorKind::Unsupported,
+ <span class="string">"webhdfs doesn't support
read with suffix range"</span>,
+ ));
+ };
- <span class="kw">match </span>(offset, size) {
- (<span class="prelude-val">Some</span>(offset), <span
class="prelude-val">Some</span>(size)) => {
- url += <span class="macro">format!</span>(<span
class="string">"&offset={offset}&length={size}"</span>).as_str();
- }
- (<span class="prelude-val">Some</span>(offset), <span
class="prelude-val">None</span>) => {
- url += <span class="macro">format!</span>(<span
class="string">"&offset={offset}"</span>).as_str();
+ <span class="kw">if let </span><span
class="prelude-val">Some</span>(offset) = range.offset() {
+ url += <span class="kw-2">&</span><span
class="macro">format!</span>(<span
class="string">"&offset={offset}"</span>);
}
- (<span class="prelude-val">None</span>, <span
class="prelude-val">None</span>) => {
- <span class="comment">// read all, do nothing
- </span>}
- (<span class="prelude-val">None</span>, <span
class="prelude-val">Some</span>(<span class="kw">_</span>)) => {
- <span class="comment">// already handled
- </span><span class="macro">unreachable!</span>()
+ <span class="kw">if let </span><span
class="prelude-val">Some</span>(size) = range.size() {
+ url += <span class="kw-2">&</span><span
class="macro">format!</span>(<span
class="string">"&length={size}"</span>)
}
}
@@ -1052,7 +933,7 @@
<span class="prelude-val">Ok</span>(req)
}
- <span class="kw">fn </span>webhdfs_list_status_req(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Request<AsyncBody>> {
+ <span class="kw">fn </span>webhdfs_list_status_request(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><Request<AsyncBody>> {
<span class="kw">let </span>p = build_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, path);
<span class="kw">let </span><span class="kw-2">mut </span>url = <span
class="macro">format!</span>(
<span
class="string">"{}/webhdfs/v1/{}?op=LISTSTATUS"</span>,
@@ -1063,62 +944,52 @@
url += <span class="macro">format!</span>(<span
class="string">"&{auth}"</span>).as_str();
}
- <span class="kw">let </span>req = Request::get(<span
class="kw-2">&</span>url);
- <span class="kw">let </span>req = req
+ <span class="kw">let </span>req = Request::get(<span
class="kw-2">&</span>url)
.body(AsyncBody::Empty)
.map_err(new_request_build_error)<span
class="question-mark">?</span>;
<span class="prelude-val">Ok</span>(req)
}
-}
-<span class="kw">impl </span>WebhdfsBackend {
- <span class="doccomment">/// get object from webhdfs
- ///
- /// # Notes
- ///
- /// looks like webhdfs doesn't support range request from file end.
- /// so if we want to read the tail of object, the whole object should be
transferred.
- </span><span class="kw">async fn </span>webhdfs_get_object(
+ <span class="kw">async fn </span>webhdfs_read_file(
<span class="kw-2">&</span><span class="self">self</span>,
path: <span class="kw-2">&</span>str,
range: BytesRange,
) -> <span
class="prelude-ty">Result</span><Response<IncomingAsyncBody>> {
- <span class="kw">let </span>req = <span
class="self">self</span>.webhdfs_open_req(path, <span
class="kw-2">&</span>range).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>req = <span
class="self">self</span>.webhdfs_open_request(path, <span
class="kw-2">&</span>range).<span class="kw">await</span><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="comment">// this should be a 307 redirect
+ <span class="comment">// webhdfs namenode will redirect us to datanode
for data transfer.
</span><span class="kw">if </span>resp.status() !=
StatusCode::TEMPORARY_REDIRECT {
<span class="kw">return </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>re_url = <span
class="self">self</span>.follow_redirect(resp)<span
class="question-mark">?</span>;
- <span class="kw">let </span>re_req = Request::get(<span
class="kw-2">&</span>re_url)
+ <span class="kw">let </span>location = <span
class="self">self</span>.follow_redirect(resp)<span
class="question-mark">?</span>;
+ <span class="kw">let </span>req = Request::get(<span
class="kw-2">&</span>location)
.body(AsyncBody::Empty)
.map_err(new_request_build_error)<span
class="question-mark">?</span>;
- <span class="self">self</span>.client.send(re_req).<span
class="kw">await
+ <span class="self">self</span>.client.send(req).<span class="kw">await
</span>}
- <span class="kw">async fn </span>webhdfs_status_object(<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">async fn </span>webhdfs_get_file_status(<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>p = build_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, path);
<span class="kw">let </span><span class="kw-2">mut </span>url = <span
class="macro">format!</span>(
<span
class="string">"{}/webhdfs/v1/{}?op=GETFILESTATUS"</span>,
<span class="self">self</span>.endpoint,
percent_encode_path(<span class="kw-2">&</span>p),
);
- <span class="macro">debug!</span>(<span class="string">"webhdfs
status url: {}"</span>, url);
+
<span class="kw">if let </span><span
class="prelude-val">Some</span>(auth) = <span class="kw-2">&</span><span
class="self">self</span>.auth {
url += <span class="macro">format!</span>(<span
class="string">"&{auth}"</span>).as_str();
}
- <span class="kw">let </span>req = Request::get(<span
class="kw-2">&</span>url);
- <span class="kw">let </span>req = req
+ <span class="kw">let </span>req = Request::get(<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">async fn </span>webhdfs_delete_object(<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">async fn </span>webhdfs_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>p = build_abs_path(<span
class="kw-2">&</span><span class="self">self</span>.root, path);
<span class="kw">let </span><span class="kw-2">mut </span>url = <span
class="macro">format!</span>(
<span
class="string">"{}/webhdfs/v1/{}?op=DELETE&recursive=false"</span>,
@@ -1129,94 +1000,56 @@
url += <span class="macro">format!</span>(<span
class="string">"&{auth}"</span>).as_str();
}
- <span class="kw">let </span>req = Request::delete(<span
class="kw-2">&</span>url);
- <span class="kw">let </span>req = req
+ <span class="kw">let </span>req = 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">impl </span>WebhdfsBackend {
<span class="doccomment">/// get redirect destination from 307
TEMPORARY_REDIRECT http response
</span><span class="kw">fn </span>follow_redirect(<span
class="kw-2">&</span><span class="self">self</span>, resp:
Response<IncomingAsyncBody>) -> <span
class="prelude-ty">Result</span><String> {
- <span class="kw">let </span>loc = <span class="kw">match
</span>parse_location(resp.headers())<span class="question-mark">? </span>{
- <span class="prelude-val">Some</span>(p) => {
- <span class="kw">if </span>!p.starts_with(<span
class="string">'/'</span>) {
- <span class="comment">// is not relative path
- </span>p.to_string()
- } <span class="kw">else </span>{
- <span class="comment">// is relative path
- // prefix with endpoint url
- </span><span class="kw">let </span>url = <span
class="self">self</span>.endpoint.clone();
- <span class="macro">format!</span>(<span
class="string">"{url}/{p}"</span>)
- }
- }
- <span class="prelude-val">None </span>=> {
- <span class="kw">let </span>err = Error::new(
- ErrorKind::Unexpected,
- <span class="string">"redirection fail: no location
header"</span>,
- );
- <span class="kw">return </span><span
class="prelude-val">Err</span>(err);
- }
- };
- <span class="prelude-val">Ok</span>(loc)
- }
-
- <span class="kw">fn </span>consume_success_mkdir(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, parts: Parts, body: <span
class="kw-2">&</span>str) -> <span
class="prelude-ty">Result</span><RpCreate> {
- <span class="kw">let </span>mkdir_rsp =
serde_json::from_str::<BooleanResp>(body).map_err(|e| {
- Error::new(ErrorKind::Unexpected, <span
class="string">"cannot parse mkdir response"</span>)
- .set_temporary()
- .with_context(<span class="string">"service"</span>,
Scheme::Webhdfs)
- .with_context(<span
class="string">"response"</span>, <span
class="macro">format!</span>(<span class="string">"{parts:?}"</span>))
- .set_source(e)
+ <span class="kw">let </span>location =
parse_location(resp.headers())<span
class="question-mark">?</span>.ok_or_else(|| {
+ Error::new(
+ ErrorKind::Unexpected,
+ <span class="string">"webhdfs expect to have redirect
location but got none"</span>,
+ )
})<span class="question-mark">?</span>;
- <span class="kw">if </span>mkdir_rsp.boolean {
- <span class="prelude-val">Ok</span>(RpCreate::default())
+ <span class="kw">let </span>location = <span class="kw">if
</span>location.starts_with(<span class="string">'/'</span>) {
+ <span class="comment">// location starts with `/` means it's a
relative path to current
+ // endpoint. We should prepend the endpoint to it so that we can
+ // send request to the correct location.
+ </span><span class="macro">format!</span>(<span
class="string">"{}/{location}"</span>, <span
class="self">self</span>.endpoint)
} <span class="kw">else </span>{
- <span class="prelude-val">Err</span>(Error::new(
- ErrorKind::Unexpected,
- <span class="kw-2">&</span><span
class="macro">format!</span>(<span class="string">"mkdir failed:
{path}"</span>),
- ))
- }
+ location.to_string()
+ };
+
+ <span class="prelude-val">Ok</span>(location)
}
<span class="kw">async fn </span>check_root(<span
class="kw-2">&</span><span class="self">self</span>) -> <span
class="prelude-ty">Result</span><()> {
- <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_status_object(<span
class="string">"/"</span>).<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_get_file_status(<span
class="string">"/"</span>).<span class="kw">await</span><span
class="question-mark">?</span>;
<span class="kw">match </span>resp.status() {
StatusCode::OK => {
- <span class="kw">let </span>body_bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
-
- <span class="kw">let </span>file_status =
serde_json::from_reader::<<span class="kw">_</span>,
FileStatusWrapper>(body_bs.reader())
- .map_err(|e| {
- Error::new(ErrorKind::Unexpected, <span
class="string">"cannot parse returned json"</span>)
- .with_context(<span
class="string">"service"</span>, Scheme::Webhdfs)
- .set_source(e)
- })<span class="question-mark">?
+ <span class="kw">let </span>bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
+
+ <span class="kw">let </span>file_status =
serde_json::from_slice::<FileStatusWrapper>(<span
class="kw-2">&</span>bs)
+ .map_err(new_json_deserialize_error)<span
class="question-mark">?
</span>.file_status;
- <span class="kw">match </span>file_status.ty {
- FileStatusType::File => {
- <span class="macro">error!</span>(<span
class="string">"working directory is occupied!"</span>);
- <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(ErrorKind::ConfigInvalid, <span
class="string">"root is occupied!"</span>)
- .with_context(<span
class="string">"service"</span>, Scheme::Webhdfs));
- }
- FileStatusType::Directory => {
- <span class="macro">debug!</span>(<span
class="string">"working directory exists, do nothing"</span>);
- }
+ <span class="kw">if </span>file_status.ty ==
FileStatusType::File {
+ <span class="kw">return </span><span
class="prelude-val">Err</span>(Error::new(
+ ErrorKind::ConfigInvalid,
+ <span class="string">"root path must be
dir"</span>,
+ ));
}
}
-
StatusCode::NOT_FOUND => {
- <span class="macro">debug!</span>(<span
class="string">"working directory does not exists,
creating..."</span>);
<span class="self">self</span>.create(<span
class="string">"/"</span>, OpCreate::new(EntryMode::DIR)).<span
class="kw">await</span><span class="question-mark">?</span>;
}
-
<span class="kw">_ </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>),
}
- <span class="macro">debug!</span>(<span class="string">"working
directory is ready!"</span>);
<span class="prelude-val">Ok</span>(())
}
}
@@ -1242,19 +1075,9 @@
}
<span class="doccomment">/// Create a file or directory
- </span><span class="kw">async fn </span>create(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, args: OpCreate) -> <span
class="prelude-ty">Result</span><RpCreate> {
- <span class="comment">// if the path ends with '/', it will be
treated as a directory
- // otherwise, it will be treated as a file
- </span><span class="kw">let </span>path = <span class="kw">if
</span>args.mode().is_file() && path.ends_with(<span
class="string">'/'</span>) {
- path.trim_end_matches(<span
class="string">'/'</span>).to_owned()
- } <span class="kw">else if </span>args.mode().is_dir() &&
!path.ends_with(<span class="string">'/'</span>) {
- path.to_owned() + <span class="string">"/"
- </span>} <span class="kw">else </span>{
- path.to_owned()
- };
-
+ </span><span class="kw">async fn </span>create(<span
class="kw-2">&</span><span class="self">self</span>, path: <span
class="kw-2">&</span>str, <span class="kw">_</span>: OpCreate) -> <span
class="prelude-ty">Result</span><RpCreate> {
<span class="kw">let </span>req = <span class="self">self
- </span>.webhdfs_create_object_req(<span
class="kw-2">&</span>path, <span class="prelude-val">Some</span>(<span
class="number">0</span>), <span class="prelude-val">None</span>,
AsyncBody::Empty)
+ </span>.webhdfs_create_object_request(path, <span
class="prelude-val">Some</span>(<span class="number">0</span>), <span
class="prelude-val">None</span>, AsyncBody::Empty)
.<span class="kw">await</span><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>;
@@ -1267,15 +1090,19 @@
// the redirection should be done automatically.
</span><span class="kw">match </span>status {
StatusCode::CREATED | StatusCode::OK => {
- <span class="kw">if </span>!path.ends_with(<span
class="string">'/'</span>) {
- <span class="comment">// create file's http resp could
be ignored
- </span>resp.into_body().consume().<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="kw">return </span><span
class="prelude-val">Ok</span>(RpCreate::default());
+ <span class="kw">let </span>bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
+
+ <span class="kw">let </span>resp =
serde_json::from_slice::<BooleanResp>(<span class="kw-2">&</span>bs)
+ .map_err(new_json_deserialize_error)<span
class="question-mark">?</span>;
+
+ <span class="kw">if </span>resp.boolean {
+ <span class="prelude-val">Ok</span>(RpCreate::default())
+ } <span class="kw">else </span>{
+ <span class="prelude-val">Err</span>(Error::new(
+ ErrorKind::Unexpected,
+ <span class="string">"webhdfs create dir
failed"</span>,
+ ))
}
- <span class="kw">let </span>(parts, body) = resp.into_parts();
- <span class="kw">let </span>bs = body.bytes().<span
class="kw">await</span><span class="question-mark">?</span>;
- <span class="kw">let </span>s = String::from_utf8_lossy(<span
class="kw-2">&</span>bs);
- <span class="self">self</span>.consume_success_mkdir(<span
class="kw-2">&</span>path, parts, <span class="kw-2">&</span>s)
}
<span class="kw">_ </span>=> <span
class="prelude-val">Err</span>(parse_error(resp).<span
class="kw">await</span><span class="question-mark">?</span>),
}
@@ -1283,14 +1110,12 @@
<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>range = args.range();
- <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_get_object(path, range).<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_read_file(path, range).<span
class="kw">await</span><span class="question-mark">?</span>;
<span class="kw">match </span>resp.status() {
StatusCode::OK | StatusCode::PARTIAL_CONTENT => {
<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()))
}
- StatusCode::NOT_FOUND => <span
class="prelude-val">Err</span>(Error::new(ErrorKind::NotFound, <span
class="string">"object not found"</span>)
- .with_context(<span class="string">"service"</span>,
Scheme::Webhdfs)),
<span class="kw">_ </span>=> <span
class="prelude-val">Err</span>(parse_error(resp).<span
class="kw">await</span><span class="question-mark">?</span>),
}
}
@@ -1315,28 +1140,25 @@
.get_or_try_init(|| <span class="kw">async </span>{ <span
class="self">self</span>.check_root().<span class="kw">await </span>})
.<span class="kw">await</span><span class="question-mark">?</span>;
- <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_status_object(path).<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_get_file_status(path).<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="macro">debug!</span>(<span
class="string">"stat object: {} ok"</span>, path);
- <span class="kw">let </span><span class="kw-2">mut </span>meta
= parse_into_metadata(path, resp.headers())<span class="question-mark">?</span>;
- <span class="kw">let </span>body_bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
-
- <span class="kw">let </span>file_status =
serde_json::from_reader::<<span class="kw">_</span>,
FileStatusWrapper>(body_bs.reader())
- .map_err(|e| {
- Error::new(ErrorKind::Unexpected, <span
class="string">"cannot parse returned json"</span>)
- .with_context(<span
class="string">"service"</span>, Scheme::Webhdfs)
- .set_source(e)
- })<span class="question-mark">?
+ <span class="kw">let </span>bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
+
+ <span class="kw">let </span>file_status =
serde_json::from_slice::<FileStatusWrapper>(<span
class="kw-2">&</span>bs)
+ .map_err(new_json_deserialize_error)<span
class="question-mark">?
</span>.file_status;
- <span class="macro">debug!</span>(<span
class="string">"file status: {:?}"</span>, file_status);
- <span class="kw">let </span>status_meta: Metadata =
file_status.try_into()<span class="question-mark">?</span>;
- <span class="comment">// is ok to unwrap here
- // all metadata field of status meta is present and checked by
`TryFrom`
-
</span>meta.set_last_modified(status_meta.last_modified().unwrap())
- .set_content_length(status_meta.content_length());
+ <span class="kw">let </span>meta = <span class="kw">match
</span>file_status.ty {
+ FileStatusType::Directory =>
Metadata::new(EntryMode::DIR),
+ FileStatusType::File => Metadata::new(EntryMode::FILE)
+ .with_content_length(file_status.length)
+
.with_last_modified(parse_datetime_from_from_timestamp_millis(
+ file_status.modification_time,
+ )<span class="question-mark">?</span>),
+ };
+
<span class="prelude-val">Ok</span>(RpStat::new(meta))
}
@@ -1345,7 +1167,8 @@
}
<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>.webhdfs_delete_object(path).<span
class="kw">await</span><span class="question-mark">?</span>;
+ <span class="kw">let </span>resp = <span
class="self">self</span>.webhdfs_delete(path).<span
class="kw">await</span><span class="question-mark">?</span>;
+
<span class="kw">match </span>resp.status() {
StatusCode::OK => {
resp.into_body().consume().<span class="kw">await</span><span
class="question-mark">?</span>;
@@ -1357,21 +1180,16 @@
<span class="kw">async fn </span>list(<span class="kw-2">&</span><span
class="self">self</span>, path: <span class="kw-2">&</span>str, <span
class="kw">_</span>: OpList) -> <span
class="prelude-ty">Result</span><(RpList, <span
class="self">Self</span>::Pager)> {
<span class="kw">let </span>path = path.trim_end_matches(<span
class="string">'/'</span>);
- <span class="kw">let </span>req = <span
class="self">self</span>.webhdfs_list_status_req(path)<span
class="question-mark">?</span>;
+ <span class="kw">let </span>req = <span
class="self">self</span>.webhdfs_list_status_request(path)<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">match </span>resp.status() {
StatusCode::OK => {
- <span class="kw">let </span>body_bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
- <span class="kw">let </span>file_statuses =
- serde_json::from_reader::<<span class="kw">_</span>,
FileStatusesWrapper>(body_bs.reader())
- .map_err(|e| {
- Error::new(ErrorKind::Unexpected, <span
class="string">"cannot parse returned json"</span>)
- .with_context(<span
class="string">"service"</span>, Scheme::Webhdfs)
- .set_source(e)
- })<span class="question-mark">?
- </span>.file_statuses
- .file_status;
+ <span class="kw">let </span>bs =
resp.into_body().bytes().<span class="kw">await</span><span
class="question-mark">?</span>;
+ <span class="kw">let </span>file_statuses =
serde_json::from_slice::<FileStatusesWrapper>(<span
class="kw-2">&</span>bs)
+ .map_err(new_json_deserialize_error)<span
class="question-mark">?
+ </span>.file_statuses
+ .file_status;
<span class="kw">let </span>objects = WebhdfsPager::new(path,
file_statuses);
<span class="prelude-val">Ok</span>((RpList::default(),
objects))
diff --git a/docs/rust/src/opendal/services/webhdfs/message.rs.html
b/docs/rust/src/opendal/services/webhdfs/message.rs.html
index 53420761..9b49735f 100644
--- a/docs/rust/src/opendal/services/webhdfs/message.rs.html
+++ b/docs/rust/src/opendal/services/webhdfs/message.rs.html
@@ -163,25 +163,6 @@
<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>
</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
@@ -199,13 +180,10 @@
// specific language governing permissions and limitations
// under the License.
-</span><span class="doccomment">//! HTTP response messages
+</span><span class="doccomment">//! WebHDFS response messages
</span><span class="kw">use </span>serde::Deserialize;
-<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="attr">#[derive(Debug, Deserialize)]
</span><span class="kw">pub</span>(<span class="kw">super</span>) <span
class="kw">struct </span>BooleanResp {
<span class="kw">pub </span>boolean: bool,
@@ -240,22 +218,6 @@
</span><span class="kw">pub </span>ty: FileStatusType,
}
-<span class="kw">impl </span>TryFrom<FileStatus> <span class="kw">for
</span>Metadata {
- <span class="kw">type </span>Error = Error;
- <span class="kw">fn </span>try_from(value: FileStatus) -> <span
class="prelude-ty">Result</span><<span class="self">Self</span>> {
- <span class="kw">let </span><span class="kw-2">mut </span>meta = <span
class="kw">match </span>value.ty {
- FileStatusType::Directory => Metadata::new(EntryMode::DIR),
- FileStatusType::File => Metadata::new(EntryMode::FILE),
- };
-
- meta.set_last_modified(parse_datetime_from_from_timestamp_millis(
- value.modification_time,
- )<span class="question-mark">?</span>)
- .set_content_length(value.length);
- <span class="prelude-val">Ok</span>(meta)
- }
-}
-
<span class="attr">#[derive(Debug, Deserialize, PartialEq, Eq)]
#[serde(rename_all = <span class="string">"UPPERCASE"</span>)]
</span><span class="kw">pub enum </span>FileStatusType {
diff --git a/docs/rust/src/opendal/services/webhdfs/pager.rs.html
b/docs/rust/src/opendal/services/webhdfs/pager.rs.html
index ae3c6a2f..f95af98d 100644
--- a/docs/rust/src/opendal/services/webhdfs/pager.rs.html
+++ b/docs/rust/src/opendal/services/webhdfs/pager.rs.html
@@ -62,6 +62,17 @@
<a href="#62" id="62">62</a>
<a href="#63" id="63">63</a>
<a href="#64" id="64">64</a>
+<a href="#65" id="65">65</a>
+<a href="#66" id="66">66</a>
+<a href="#67" id="67">67</a>
+<a href="#68" id="68">68</a>
+<a href="#69" id="69">69</a>
+<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>
+<a href="#74" id="74">74</a>
+<a href="#75" id="75">75</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
@@ -81,7 +92,7 @@
</span><span class="kw">use </span>async_trait::async_trait;
-<span class="kw">use </span><span class="kw">super</span>::message::FileStatus;
+<span class="kw">use </span><span
class="kw">super</span>::message::{FileStatus, FileStatusType};
<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>;
@@ -115,7 +126,18 @@
<span class="macro">format!</span>(<span
class="string">"{}/{}"</span>, <span class="self">self</span>.path,
status.path_suffix)
};
- <span class="kw">let </span>meta: Metadata =
status.try_into()<span class="question-mark">?</span>;
+ <span class="kw">let </span>meta = <span class="kw">match
</span>status.ty {
+ FileStatusType::Directory => Metadata::new(EntryMode::DIR),
+ FileStatusType::File => Metadata::new(EntryMode::FILE)
+ .with_content_length(status.length)
+
.with_last_modified(parse_datetime_from_from_timestamp_millis(
+ status.modification_time,
+ )<span class="question-mark">?</span>),
+ };
+
+ <span class="kw">if </span>meta.mode().is_file() {
+ path = path.trim_end_matches(<span
class="string">'/'</span>).to_string();
+ }
<span class="kw">if </span>meta.mode().is_dir() {
path += <span class="string">"/"
</span>}
diff --git a/docs/rust/src/opendal/services/webhdfs/writer.rs.html
b/docs/rust/src/opendal/services/webhdfs/writer.rs.html
index 02f94467..cd891a99 100644
--- a/docs/rust/src/opendal/services/webhdfs/writer.rs.html
+++ b/docs/rust/src/opendal/services/webhdfs/writer.rs.html
@@ -121,7 +121,7 @@
<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>req = <span class="self">self
</span>.backend
- .webhdfs_create_object_req(
+ .webhdfs_create_object_request(
<span class="kw-2">&</span><span
class="self">self</span>.path,
<span class="prelude-val">Some</span>(bs.len()),
<span class="self">self</span>.op.content_type(),
diff --git a/index.html b/index.html
index 2191ca82..174a158b 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.7d828908.js" as="script">
+<link rel="preload" href="/assets/js/runtime~main.0e95f8a0.js" as="script">
<link rel="preload" href="/assets/js/main.fe9ff58f.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.7d828908.js"></script>
+<script src="/assets/js/runtime~main.0e95f8a0.js"></script>
<script src="/assets/js/main.fe9ff58f.js"></script>
</body>
</html>
\ No newline at end of file