Refactor progress reporting

This commit is contained in:
Alexander Neumann committed 2015-02-21 14:25:06 +01:00
1 parent 97b963ef1d
commit 58cded6b75
4 files changed
+113 -99

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ type Stat struct {
Files uint64
Dirs uint64
Bytes uint64
Trees uint64
Blobs uint64
}
type ProgressFunc func(s Stat, runtime time.Duration, ticker bool)