archiveExtension function
The file extension (without a leading dot) for format.
Implementation
String archiveExtension(ArchiveFormat format) => switch (format) {
ArchiveFormat.zip => 'zip',
ArchiveFormat.gz => 'gz',
ArchiveFormat.tarGz => 'tar.gz',
};