MCPcopy
hub / github.com/rclone/rclone / stopRenamers

Method stopRenamers

fs/sync/sync.go:559–566  ·  view source on GitHub ↗

This stops the background renamers

()

Source from the content-addressed store, hash-verified

557
558// This stops the background renamers
559func (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
569func (s *syncCopyMove) startTrackRenames() {

Callers 1

runMethod · 0.95

Calls 3

DebugfFunction · 0.92
CloseMethod · 0.65
WaitMethod · 0.65

Tested by

no test coverage detected