MCPcopy
hub / github.com/rclone/rclone / saveQueue

Method saveQueue

cmd/bisync/queue.go:371–377  ·  view source on GitHub ↗
(files bilib.Names, jobName string)

Source from the content-addressed store, hash-verified

369}
370
371func (b *bisyncRun) saveQueue(files bilib.Names, jobName string) error {
372 if !b.opt.SaveQueues {
373 return nil
374 }
375 queueFile := fmt.Sprintf("%s.%s.que", b.basePath, jobName)
376 return files.Save(queueFile)
377}
378
379func naptime(totalWait fs.Duration) {
380 expireTime := time.Now().Add(time.Duration(totalWait))

Callers 2

fastCopyMethod · 0.95
applyDeltasMethod · 0.95

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected