(files bilib.Names, jobName string)
| 369 | } |
| 370 | |
| 371 | func (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 | |
| 379 | func naptime(totalWait fs.Duration) { |
| 380 | expireTime := time.Now().Add(time.Duration(totalWait)) |
no test coverage detected