浏览代码

Add size to StatusReport.

Blallo 5 年之前
父节点
当前提交
86847b7c3c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sizer/main.go

+ 2 - 1
sizer/main.go

@@ -45,8 +45,9 @@ type INodeList struct {
 	safe     sync.Mutex
 }
 
-type statusReport struct {
+type StatusReport struct {
 	path string
+	size int64
 	err  error
 }