• James D. Lin's avatar
    Restructure ProjectFileInvalidator.findInvalidated a bit (#42008) · fcbe8f44
    James D. Lin authored
    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.
    fcbe8f44
Name
Last commit
Last update
..
bin Loading commit data...
doc Loading commit data...
gradle Loading commit data...
ide_templates/intellij Loading commit data...
lib Loading commit data...
schema Loading commit data...
static Loading commit data...
templates Loading commit data...
test Loading commit data...
tool Loading commit data...
BUILD.gn Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
build.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...