@@ -78,34 +78,6 @@ extension QuicktaskView {
7878}
7979}
8080
81- /*
82- func execute(config: SynchronizeConfiguration, dryrun: Bool) {
83- let arguments = ArgumentsSynchronize(config: config).argumentsSynchronize(dryRun: dryrun, forDisplay: false)
84- // Start progressview
85- showprogressview = true
86-
87- let handlers = CreateHandlers().createHandlers(
88- fileHandler: fileHandler,
89- processTermination: processTermination
90- )
91-
92- // Must check valid rsync exists
93- guard SharedReference.shared.norsync == false else { return }
94- guard config.task != SharedReference.shared.halted else { return }
95-
96- let process = RsyncProcess(arguments: arguments,
97- hiddenID: config.hiddenID,
98- handlers: handlers,
99- useFileHandler: true)
100- do {
101- try process.executeProcess()
102- } catch let err {
103- let error = err
104- SharedReference.shared.errorobject?.alert(error: error)
105- }
106- }
107-
108- */
10981func executestreaming( config: SynchronizeConfiguration , dryrun: Bool ) {
11082let arguments = ArgumentsSynchronize ( config: config) . argumentsSynchronize ( dryRun: dryrun, forDisplay: false )
11183