(t *TreeUpload)
| 29 | var lastStatBroadcast allStats |
| 30 | |
| 31 | func printAndroidCamputStatus(t *TreeUpload) { |
| 32 | bcast := allStats{t.total, t.skipped, t.uploaded} |
| 33 | if bcast == lastStatBroadcast { |
| 34 | return |
| 35 | } |
| 36 | lastStatBroadcast = bcast |
| 37 | |
| 38 | android.Printf("STATS nfile=%d nbyte=%d skfile=%d skbyte=%d upfile=%d upbyte=%d\n", |
| 39 | t.total.files, t.total.bytes, |
| 40 | t.skipped.files, t.skipped.bytes, |
| 41 | t.uploaded.files, t.uploaded.bytes) |
| 42 | } |