MCPcopy Index your code
hub / github.com/rclone/rclone / startCheckers

Method startCheckers

fs/sync/sync.go:515–521  ·  view source on GitHub ↗

This starts the background checkers.

()

Source from the content-addressed store, hash-verified

513
514// This starts the background checkers.
515func (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
524func (s *syncCopyMove) stopCheckers() {

Callers 1

runMethod · 0.95

Calls 2

pairCheckerMethod · 0.95
AddMethod · 0.65

Tested by

no test coverage detected