extractArchiveToDiskSync function
Implementation
void extractArchiveToDiskSync(
Archive archive,
String outputPath, {
int? bufferSize,
}) {
_prepareOutDir(outputPath);
for (final file in archive.files) {
final filePath = _prepareArchiveFilePath(file, outputPath);
if (filePath != null) {
_extractArchiveEntryToDiskSync(file, filePath, bufferSize: bufferSize);
}
}
}