镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
feature(worker): toplevel mirror job logic
这个提交包含在:
@@ -1,11 +1,13 @@
|
||||
package worker
|
||||
|
||||
import "time"
|
||||
|
||||
type rsyncConfig struct {
|
||||
name string
|
||||
upstreamURL, password, excludeFile string
|
||||
workingDir, logDir, logFile string
|
||||
useIPv6 bool
|
||||
interval int
|
||||
interval time.Duration
|
||||
}
|
||||
|
||||
// An RsyncProvider provides the implementation to rsync-based syncing jobs
|
||||
@@ -41,8 +43,3 @@ func (p *rsyncProvider) Start() {
|
||||
func (p *rsyncProvider) Terminate() {
|
||||
|
||||
}
|
||||
|
||||
// TODO: implement this
|
||||
func (p *rsyncProvider) Hooks() {
|
||||
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户