-Task *Copy::run(const Target &target) const
-{
- const InstalledFile &install = dynamic_cast<const InstalledFile &>(target);
- Worker *worker = new Worker(install);
- InternalTask *task = new InternalTask(worker);
- task->add_file(install.get_path());
- task->set_unlink();
- return task;
-}
-
-
-Copy::Worker::Worker(const InstalledFile &t):
- target(t)
-{ }
-
-void Copy::Worker::main()