ipfs-shipyard / ipfsx

Experimental IPFS API
MIT License
17 stars 5 forks source link

RFC: ls size and cumulative size #4

Open alanshaw opened 6 years ago

alanshaw commented 6 years ago

The current rationale wants ls size to be the TOTAL size of the node and it's children including any protobuf wrappers. There is existing a cumulativeSize field and I think that we should use this field to convey that information and use size to be the size of the data contained in the node and any of it's children i.e. excluding protobuf wrappers.