dart-lang / watcher

A file system watcher library for Dart.
https://pub.dev/packages/watcher
BSD 3-Clause "New" or "Revised" License
138 stars 35 forks source link

Check for FileSystemEntityType.notFound #80

Closed sortie closed 4 years ago

sortie commented 4 years ago

The Dart breaking change https://github.com/dart-lang/sdk/issues/40706 will change the timestamps on the notFound object from null to the epoch timestamp. This change updates package:watcher accordingly. The change is backwards compatible and forwards compatible.

This pull requests blocks the https://github.com/dart-lang/sdk/issues/40706 breaking change which blocks the Dart SDK NNBD unfork. Please review and commit the change if you approve, and then please make a package:watcher release on pub. We'll then want the change to roll into G3 and Dart/Flutter.