feat: add repo sync white-path #56

This commit is contained in:
engigu
2026-03-16 10:50:07 +08:00
parent f1ca4b7a0b
commit 07f04af841
6 changed files with 243 additions and 4 deletions
@@ -946,6 +946,9 @@ func (es *ExecutorService) BuildRepoCommand(task *models.Task) (string, string)
if config.AuthToken != "" {
args = append(args, "--auth-token", config.AuthToken)
}
if config.WhitelistPaths != "" {
args = append(args, "--whitelist-paths", config.WhitelistPaths)
}
return exePath + " " + strings.Join(args, " "), filepath.Dir(exePath)
}