summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/mfs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/mfs.rs')
-rw-r--r--ipfs-api/examples/mfs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/mfs.rs b/ipfs-api/examples/mfs.rs
index b53935c..2b20111 100644
--- a/ipfs-api/examples/mfs.rs
+++ b/ipfs-api/examples/mfs.rs
@@ -47,7 +47,7 @@ async fn main() {
eprintln!("getting status of /test/does...");
eprintln!();
- match client.files_stat("/test/does").await {
+ match client.files_stat("/test/does", false).await {
Ok(stat) => print_stat(stat),
Err(e) => {
eprintln!("error getting status of /test/does: {}", e);
@@ -68,7 +68,7 @@ async fn main() {
eprintln!("getting status of /test/mfs.rs...");
eprintln!();
- match client.files_stat("/test/mfs.rs").await {
+ match client.files_stat("/test/mfs.rs", false).await {
Ok(stat) => print_stat(stat),
Err(e) => {
eprintln!("error getting status of /test/mfs.rs: {}", e);