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