flutter/packages/flutter_tools/lib
James D. Lin fcbe8f44ea
Restructure ProjectFileInvalidator.findInvalidated a bit (#42008)
Restructure ProjectFileInvalidator.findInvalidated a bit

I plan to modify `ProjectFileInvalidator.findInvalidated` to allow
it to use `FileStat.stat` instead of `FileStat.statSync`.
Restructure `findInvalidated` a bit so that `FileStat.statSync` is
called in only one place.

Note that this change now always counts the `.packages` file as one
of the files scanned, even if it does not exist.  I think that this
is okay since it more accurately reflects the number of times that we
hit the filesystem with `stat()`, and it is consistent with how other
files are counted.
2019-10-04 17:22:35 -07:00
..
src Restructure ProjectFileInvalidator.findInvalidated a bit (#42008) 2019-10-04 17:22:35 -07:00
executable.dart Reland #39157 (#39798) 2019-09-17 08:19:33 -07:00
runner.dart [flutter_tool] Use curly braces around single statment control structures (#40446) 2019-09-13 14:51:35 -07:00