mirror of
https://github.com/samuelncui/acp.git
synced 2026-09-21 06:54:15 +00:00
feat: add continue
This commit is contained in:
@@ -29,8 +29,9 @@ type Copyer struct {
|
||||
updateCopying func(func(set map[int64]struct{}))
|
||||
logf func(l logrus.Level, format string, args ...any)
|
||||
|
||||
jobsLock sync.Mutex
|
||||
jobs []*baseJob
|
||||
jobsLock sync.Mutex
|
||||
jobs []*baseJob
|
||||
noSpaceSource []*source
|
||||
|
||||
errsLock sync.Mutex
|
||||
errors []*Error
|
||||
@@ -108,6 +109,11 @@ func (c *Copyer) run(ctx context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if err := c.applyAutoFillLimit(); err != nil {
|
||||
c.reportError("_autofill", err)
|
||||
return
|
||||
}
|
||||
|
||||
c.copy(ctx)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user