Ver Fonte

Add size to StatusReport.

Blallo há 5 anos atrás
pai
commit
86847b7c3c
1 ficheiros alterados com 2 adições e 1 exclusões
  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
 }