MCPcopy
hub / github.com/rclone/rclone / stopTransfers

Method stopTransfers

fs/sync/sync.go:540–544  ·  view source on GitHub ↗

This stops the background transfers

()

Source from the content-addressed store, hash-verified

538
539// This stops the background transfers
540func (s *syncCopyMove) stopTransfers() {
541 s.toBeUploaded.Close()
542 fs.Debugf(s.fdst, "Waiting for transfers to finish")
543 s.transfersWg.Wait()
544}
545
546// This starts the background renamers.
547func (s *syncCopyMove) startRenamers() {

Callers 1

runMethod · 0.95

Calls 3

DebugfFunction · 0.92
CloseMethod · 0.65
WaitMethod · 0.65

Tested by

no test coverage detected