Check for available space before starting jobs
Closed, ResolvedPublic

Description

Before starting an ExtractJob or AddJob, we should check tha available space on the destination folder. This is trivial thanks to QStorageInfo.

The tricky part is to compute how much space the job actually needs. While for AddJobs we could just sum the size of all input files, for ExtractJobs we need the metadata of each entry scheduled for extraction.