• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.codecov.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...