PhysicalFilesWatcher class
A file watcher that watches a physical filesystem for changes.
Supports both event-based watching (using FileSystemWatcher) and polling-based watching for compatibility with different file systems.
- Implemented types
Constructors
- PhysicalFilesWatcher(String root, bool useEventBasedWatcher, {Duration pollingInterval = const Duration(seconds: 4)})
- Creates a new PhysicalFilesWatcher for the specified root directory.
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
-
createCompositeToken(
List< String> filters) → IChangeToken - Creates a composite change token that combines multiple patterns.
-
createFileChangeToken(
String filter) → IChangeToken - Creates a change token for the specified filter pattern.
-
dispose(
) → void -
Performs application-defined tasks associated with freeing, releasing,
or resetting unmanaged resources.
override
-
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