$this->filesystem->
delete($p);
} $progress->
setState(Progress::STATE_SUCCEEDED
);
$this->importExportService->
saveProgress($progress);
$fileId =
$logEntity->
getFileId();
if ($fileId === null
) { throw ImportExportException::
processingError('log does not have a file id'
);
} $this->fileService->
updateFile( Context::
createDefaultContext(),
$fileId,
['size' =>
$this->filesystem->
fileSize($target)] );
return $progress;
} /**
* @param iterable<Entity|array<mixed>> $records
*/