summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/files.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/response/files.rs')
-rw-r--r--ipfs-api/src/response/files.rs5
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 = ();