提交 f485fa4b 作者: Jeromy

add type to stat printed output

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 1957094f
...@@ -87,6 +87,7 @@ var FilesStatCmd = &cmds.Command{ ...@@ -87,6 +87,7 @@ var FilesStatCmd = &cmds.Command{
fmt.Fprintf(buf, "Size: %d\n", out.Size) fmt.Fprintf(buf, "Size: %d\n", out.Size)
fmt.Fprintf(buf, "CumulativeSize: %d\n", out.CumulativeSize) fmt.Fprintf(buf, "CumulativeSize: %d\n", out.CumulativeSize)
fmt.Fprintf(buf, "ChildBlocks: %d\n", out.Blocks) fmt.Fprintf(buf, "ChildBlocks: %d\n", out.Blocks)
fmt.Fprintf(buf, "Type: %s\n", out.Type)
return buf, nil return buf, nil
}, },
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论