This stops the background renamers
()
| 557 | |
| 558 | // This stops the background renamers |
| 559 | func (s *syncCopyMove) stopRenamers() { |
| 560 | if !s.trackRenames { |
| 561 | return |
| 562 | } |
| 563 | s.toBeRenamed.Close() |
| 564 | fs.Debugf(s.fdst, "Waiting for renames to finish") |
| 565 | s.renamerWg.Wait() |
| 566 | } |
| 567 | |
| 568 | // This starts the collection of possible renames |
| 569 | func (s *syncCopyMove) startTrackRenames() { |