We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b99d6a7 commit 0eec630Copy full SHA for 0eec630
core/examples/basic/src/main.rs
@@ -19,20 +19,20 @@ use opendal::Operator;
19
use opendal::Result;
20
21
async fn example(op: Operator) -> Result<()> {
22
- // Write data to S3.
+ // Write data to fs.
23
op.write("test.txt", "Hello, World!").await?;
24
println!("write succeeded");
25
26
- // Read data from s3.
+ // Read data from fs.
27
let bs = op.read("test.txt").await?;
28
29
println!("read: {}", String::from_utf8(bs.to_vec()).unwrap());
30
31
- // Fetch metadata of s3.
+ // Fetch metadata of file.
32
let meta = op.stat("test.txt").await?;
33
println!("stat: {meta:?}");
34
35
- // Delete data from s3.
+ // Delete data from fs.
36
op.delete("test.txt").await?;
37
println!("delete succeeded");
38
0 commit comments