diff --git a/raw.go b/raw.go index f4e9e53..e53ef09 100644 --- a/raw.go +++ b/raw.go @@ -102,6 +102,10 @@ func (rn *RawNode) Size() (uint64, error) { // Stat returns some Stats about this node. func (rn *RawNode) Stat() (*format.NodeStat, error) { return &format.NodeStat{ + Hash: rn.Cid().String(), + NumLinks: 0, + BlockSize: len(rn.RawData()), + LinksSize: 0, CumulativeSize: len(rn.RawData()), DataSize: len(rn.RawData()), }, nil