mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 22:37:51 +08:00
add type to stat printed output
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
parent
1957094fe4
commit
f485fa4b1e
@ -87,6 +87,7 @@ var FilesStatCmd = &cmds.Command{
|
||||
fmt.Fprintf(buf, "Size: %d\n", out.Size)
|
||||
fmt.Fprintf(buf, "CumulativeSize: %d\n", out.CumulativeSize)
|
||||
fmt.Fprintf(buf, "ChildBlocks: %d\n", out.Blocks)
|
||||
fmt.Fprintf(buf, "Type: %s\n", out.Type)
|
||||
return buf, nil
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user