(s string, args ...interface{})
| 483 | } |
| 484 | |
| 485 | func (sh *SyncHandler) setStatusf(s string, args ...interface{}) { |
| 486 | s = time.Now().UTC().Format(time.RFC3339) + ": " + fmt.Sprintf(s, args...) |
| 487 | sh.mu.Lock() |
| 488 | defer sh.mu.Unlock() |
| 489 | sh.status = s |
| 490 | } |
| 491 | |
| 492 | type copyResult struct { |
| 493 | sb blob.SizedRef |