FilePathRule constructor
FilePathRule({})
Implementation
FilePathRule({
required String path,
required this.recursive,
required Iterable<FileAction> actions,
Iterable<String> excludedPaths = const [],
}) : path = validateFilePath(path),
actions = Set.unmodifiable(actions),
excludedPaths = List.unmodifiable(excludedPaths.map(validateFilePath)) {
if (this.excludedPaths.length > 1000) throw ArgumentError('Too many file policy exclusions');
}