Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
add support for ipfs files stat --with-local
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMure committed Feb 19, 2018
1 parent de8d97c commit e8844b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/files/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ const transform = function (res, callback) {
blocks: res.Blocks,
size: res.Size,
hash: res.Hash,
cumulativeSize: res.CumulativeSize
cumulativeSize: res.CumulativeSize,
withLocality: res.WithLocality || false,
local: res.Local || null,
sizeLocal: res.SizeLocal || null
})
}

Expand Down

0 comments on commit e8844b0

Please sign in to comment.