diff options
author | Julius Michaelis <gitter@liftm.de> | 2020-07-09 20:41:11 +0900 |
---|---|---|
committer | Julius Michaelis <gitter@liftm.de> | 2020-07-09 20:52:33 +0900 |
commit | 7a386ef41c5666dc98e75b5cec60f9f48e4450ae (patch) | |
tree | 52ca465ebd24d537ccf7fc3ba782137c98263f40 /ipfs-api/src/response/files.rs | |
parent | a162e2cbc3dd0898211056154af57e6ec58d7808 (diff) |
add ipfs files stat --with-local
Diffstat (limited to 'ipfs-api/src/response/files.rs')
-rw-r--r-- | ipfs-api/src/response/files.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipfs-api/src/response/files.rs b/ipfs-api/src/response/files.rs index 76dc4a1..f27be1f 100644 --- a/ipfs-api/src/response/files.rs +++ b/ipfs-api/src/response/files.rs @@ -50,6 +50,11 @@ pub struct FilesStatResponse { #[serde(rename = "Type")] pub typ: String, + + #[serde(default)] + pub size_local: Option<u64>, + #[serde(default)] + pub local: Option<bool>, } pub type FilesWriteResponse = (); |