summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/response/repo.rs
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@gmail.com>2017-12-09 14:57:55 -0500
committerGitHub <noreply@github.com>2017-12-09 14:57:55 -0500
commitfac1b03d287a61f6679856e954aa59c5cbf1dbca (patch)
tree3d71aa811f9355e9634987aaeaad615c3f452beb /ipfs-api/src/response/repo.rs
parentb7b3d36dd384dcaa907c9e00be6355b03c53d2d4 (diff)
parent52a7388cd07b73fd2e46d143ef51fabd6fff3d1a (diff)
Merge pull request #8 from icefoxen/size-type-updates
Updated sizes in type definitions
Diffstat (limited to 'ipfs-api/src/response/repo.rs')
-rw-r--r--ipfs-api/src/response/repo.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipfs-api/src/response/repo.rs b/ipfs-api/src/response/repo.rs
index 24260c5..fb82936 100644
--- a/ipfs-api/src/response/repo.rs
+++ b/ipfs-api/src/response/repo.rs
@@ -36,11 +36,13 @@ pub struct RepoStatResponse {
}
+// Defined in go-ipfs:master core/commands/repo.go
#[derive(Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct RepoVerifyResponse {
pub message: String,
- pub progress: isize,
+ // Could technically be an i64 but this is probably safest?
+ pub progress: i32,
}