patternName property

String get patternName

Gets the pattern name for the task.

Returns a string representing the pattern name.

Implementation

String get patternName => include.map((e) {
      return switch (e) {
        Glob() => e.pattern,
        RegExp() => e.pattern,
        String() => e,
        _ => '$e',
      };
    }).join(', ');