getTotalOutputSize static method
Get total output size for a list of output files
Implementation
static Future<int> getTotalOutputSize(List<String> outputPaths) async {
int total = 0;
for (final path in outputPaths) {
final file = File(path);
if (await file.exists()) {
total += await file.length();
}
}
return total;
}