Explorar el Código

Add size to StatusReport.

Blallo hace 5 años
padre
commit
86847b7c3c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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
 }