add type to stat printed output
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
Jeromy committed
Jan 16, 2016 at 10:07 UTC
f485fa4b1e37a1c387c101bcf2a963cab0b7dfc2
1 file changed
+1
core/commands/files/files.go
+1
@@ -87,6 +87,7 @@ var FilesStatCmd = &cmds.Command{
87
fmt.Fprintf(buf, "Size: %d\n", out.Size)
88
fmt.Fprintf(buf, "CumulativeSize: %d\n", out.CumulativeSize)
89
fmt.Fprintf(buf, "ChildBlocks: %d\n", out.Blocks)
90
+ fmt.Fprintf(buf, "Type: %s\n", out.Type)
91
return buf, nil
92
},
93
},