This starts the background checkers.
()
| 513 | |
| 514 | // This starts the background checkers. |
| 515 | func (s *syncCopyMove) startCheckers() { |
| 516 | s.checkerWg.Add(s.ci.Checkers) |
| 517 | for i := range s.ci.Checkers { |
| 518 | fraction := (100 * i) / s.ci.Checkers |
| 519 | go s.pairChecker(s.toBeChecked, s.toBeUploaded, fraction, &s.checkerWg) |
| 520 | } |
| 521 | } |
| 522 | |
| 523 | // This stops the background checkers |
| 524 | func (s *syncCopyMove) stopCheckers() { |
no test coverage detected