Skip to content

Commit

Permalink
fix: ci fail on opendal
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Nov 12, 2024
1 parent a47cac2 commit dea0d65
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions fusio-opendal/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,14 @@ impl Fs for OpendalFs {
.map_err(parse_opendal_error)
}

fn copy(&self, from: &Path, to: &Path) -> impl Future<Output = Result<(), Error>> + MaybeSend {
self.op.copy(from.as_ref(), to.as_ref())
async fn copy(&self, from: &Path, to: &Path) -> Result<(), Error> {
self.op
.copy(from.as_ref(), to.as_ref())
.await
.map_err(parse_opendal_error)
}

fn link<F: Fs>(
&self,
from: &Path,
to_fs: &F,
to: &Path,
) -> impl Future<Output = Result<(), Error>> + MaybeSend {
async fn link<F: Fs>(&self, from: &Path, to_fs: &F, to: &Path) -> Result<(), Error> {
todo!()
}
}

0 comments on commit dea0d65

Please sign in to comment.