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

Commit e8844b0

Browse files
committed
add support for ipfs files stat --with-local
1 parent de8d97c commit e8844b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/files/stat.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const transform = function (res, callback) {
88
blocks: res.Blocks,
99
size: res.Size,
1010
hash: res.Hash,
11-
cumulativeSize: res.CumulativeSize
11+
cumulativeSize: res.CumulativeSize,
12+
withLocality: res.WithLocality || false,
13+
local: res.Local || null,
14+
sizeLocal: res.SizeLocal || null
1215
})
1316
}
1417

0 commit comments

Comments
 (0)