label method

TaskLabel label(
  1. Iterable<String> filePaths
)

Creates a label for the task with the given file paths.

filePaths is the list of file paths to process.

Returns a TaskLabel.

Implementation

TaskLabel label(Iterable<String> filePaths) {
  // ensure files are filtered
  final filtered = filterFiles(filePaths);

  return TaskLabel(resolvedName, taskId: id, fileCount: filtered.length);
}