start dumping the update files to a known format

This commit is contained in:
Tamo
2022-10-10 17:58:30 +02:00
committed by Clément Renault
parent 9117fde712
commit 0284764b5e
50 changed files with 20209 additions and 7996 deletions

View File

@ -58,7 +58,8 @@ impl CompatV4ToV5 {
pub fn tasks(
&mut self,
) -> Box<dyn Iterator<Item = Result<(v5::Task, Option<v5::UpdateFile>)>> + '_> {
) -> Box<dyn Iterator<Item = Result<(v5::Task, Option<Box<crate::reader::UpdateFile>>)>> + '_>
{
let tasks = match self {
CompatV4ToV5::V4(v4) => v4.tasks(),
CompatV4ToV5::Compat(compat) => compat.tasks(),