def _make_rsync_task(id: int, source: Storage, rel_path: str, target: Storage, msg_out=outStub): task = Task(id, source, rel_path, target, msg_out=msg_out) task.copytool = default_rsync return task
def _make_shiftc_task(id, source, rel, target): task = Task(id, source, rel, target, msg_out=outStub) task.copytool = default_shiftc return task
def _make_tar_task(id, source, rel, target, msg_out=outStub): task = Task(id, source, rel, target, msg_out=msg_out) task.copytool = default_tar return task