Open ethe opened 1 month ago
The following pseudocode should work:
use opendal::Operator;
use opendal::services::Azblob;
use fusio_opendal::OpendalFs;
async fn main() -> {
let op = Operator::new(Azblob::default().bucket("test"))?.finish();
let ofs = OpendalFs::from(op);
// Now, use ofs as fusio::Fs!
let f = ofs.open("path", OpenOptions::default()).await?;
...
}
Maybe we can add in docs somewhere?
In the current, fusio does not support Azure, we could implement traits for Azure, refer to fusio::impls::remotes::aws and object_store::azure