From 8ce73c831cb6baebd84e931ae2803b40674f5f26 Mon Sep 17 00:00:00 2001 From: kkould <2435992353@qq.com> Date: Tue, 12 Nov 2024 09:35:00 +0000 Subject: [PATCH] fix: ci fail on opendal --- fusio-opendal/src/fs.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/fusio-opendal/src/fs.rs b/fusio-opendal/src/fs.rs index 8f28b41..29a1492 100644 --- a/fusio-opendal/src/fs.rs +++ b/fusio-opendal/src/fs.rs @@ -64,16 +64,11 @@ impl Fs for OpendalFs { .map_err(parse_opendal_error) } - fn copy(&self, from: &Path, to: &Path) -> impl Future> + MaybeSend { + async fn copy(&self, from: &Path, to: &Path) -> Result<(), Error> { self.op.copy(from.as_ref(), to.as_ref()) } - fn link( - &self, - from: &Path, - to_fs: &F, - to: &Path, - ) -> impl Future> + MaybeSend { + async fn link(&self, from: &Path, to_fs: &F, to: &Path) -> Result<(), Error> { todo!() } }