deleteOutputs function
Deletes the outputs of all tasks
.
This method only works if the task's RunConditions are instances of FilesCondition.
Implementation
Future<void> deleteOutputs(Iterable<Task> tasks) async {
for (final task in tasks) {
final outputs = taskOutputs(task);
if (outputs != null) {
await deleteAll(outputs);
}
}
}