This extends JlCompress with an Option class to extend functionality with fixed file timestamps and with a follow up task, compression levels and encryption.
An Option class is used instead of regular overload with QDateTime because with more extensions coming in the future we'd end up in an overload hell and too many method parameters. This seems like a saner approach.
In addition I extended two JlCompress tests to compare against a fixed timestamp and a known resulting zip hash. This should help catch any breakage of defaults as more options are added (e.g. compression level).
This extends JlCompress with an Option class to extend functionality with fixed file timestamps and with a follow up task, compression levels and encryption.
An Option class is used instead of regular overload with QDateTime because with more extensions coming in the future we'd end up in an overload hell and too many method parameters. This seems like a saner approach.
In addition I extended two JlCompress tests to compare against a fixed timestamp and a known resulting zip hash. This should help catch any breakage of defaults as more options are added (e.g. compression level).