diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-13 23:49:19 -0500 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-13 23:49:19 -0500 |
commit | 4f09627f1578f0bee8347bca893ea6dccca8e189 (patch) | |
tree | 494c921ed4da77a518fa4318131ef33830949eb2 | |
parent | 70458bf35f4b8da4ecabeee176b0d7ec8a387134 (diff) |
formatting
-rw-r--r-- | ipfs-api/src/client/internal.rs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/ipfs-api/src/client/internal.rs b/ipfs-api/src/client/internal.rs index edf65b8..94bd490 100644 --- a/ipfs-api/src/client/internal.rs +++ b/ipfs-api/src/client/internal.rs @@ -1320,8 +1320,11 @@ impl IpfsClient { /// #[inline] pub async fn files_ls(&self, path: Option<&str>) -> Result<response::FilesLsResponse, Error> { - self.files_ls_with_options(request::FilesLs { path, ..Default::default() }) - .await + self.files_ls_with_options(request::FilesLs { + path, + ..Default::default() + }) + .await } /// List directories in MFS.. @@ -1563,8 +1566,11 @@ impl IpfsClient { /// #[inline] pub async fn files_stat(&self, path: &str) -> Result<response::FilesStatResponse, Error> { - self.files_stat_with_options(request::FilesStat { path, ..Default::default() }) - .await + self.files_stat_with_options(request::FilesStat { + path, + ..Default::default() + }) + .await } /// Display a file's status in MFS. |