| tag | 9031d3d68d1c21c90109acc8adf1154ebf3cba1f | |
|---|---|---|
| tagger | Xuanwo <github@xuanwo.io> | Wed Feb 16 16:12:51 2022 +0800 |
| object | 6b6c202cdb8f2ede0648401ca25d70d12b9ee4e8 |
Release v0.0.3
| commit | 6b6c202cdb8f2ede0648401ca25d70d12b9ee4e8 | [log] [tgz] |
|---|---|---|
| author | Xuanwo <github@xuanwo.io> | Wed Feb 16 16:12:36 2022 +0800 |
| committer | GitHub <noreply@github.com> | Wed Feb 16 16:12:36 2022 +0800 |
| tree | b1d45e90173b294679e821dcee745dd68fb10ff3 | |
| parent | 2efe962fb0ac8e74f0a631ab9dc5d73e757b7822 [diff] |
Bump to version 0.0.3 (#27) Signed-off-by: Xuanwo <github@xuanwo.io>
Open Data Access Layer that connect the whole world together.
OpenDAL is in alpha stage and has been early adopted by databend. Welcome any feedback at Discussions!
use opendal::Operator; use opendal::services::fs; use anyhow::Result; #[tokio::main] async fn main() -> Result<()>{ let mut op = Operator::new(fs::Backend::build().finish().await?); // Write data into file. let n = op.write("/path/to/file.txt", 1024).run(buf).await?; // Read data from file. let mut r = op.read("/path/to/file.txt").run().await?; r.read_to_end(&mut buf).await?; // Get file metadata. let o = op.stat("/path/to/file.txt").run().await?; // Delete file. op.delete("/path/to/file.txt").run().await?; }
OpenDAL is licensed under Apache 2.0.