Ignore class
A set of ignore rules representing a single ignore file.
An Ignore instance holds .gitignore rules relative to a given path.
Example:
import 'package:ignore/ignore.dart';
void main() {
  final ignore = Ignore([
    '*.o',
  ]);
  print(ignore.ignores('main.o')); // true
  print(ignore.ignores('main.c')); // false
}
- Annotations
- 
    - @sealed
 
Constructors
- 
          Ignore(List<String> patterns, {bool ignoreCase = false, void onInvalidPattern(String pattern, FormatException exception)?})
- 
          Create an Ignore instance with a set of .gitignorecompatible patterns.
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  ignores(String path) → bool 
- 
  Returns trueifpathis ignored by the patterns used to create this Ignore instance, assuming those patterns are placed at..
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited