• James D. Lin's avatar
    Clean up ProjectFileInvalidator.findInvalidated a bit (#41889) · 14c5c6e1
    James D. Lin authored
    In preparation for some refactoring that I will be doing to
    `ProjectFileInvalidator.findInvalidated`, make its code a bit
    clearer:
    * Indicate which arguments may be null.
    * Don't bother calling `FileStat.statSync` on the `.packages` file
      for the initial load.  This makes the checks for the `.packages`
      file consistent with those for other files.
    * Use `DateTime.isAfter()` instead of comparing microseconds
      ourselves.
    
    While I was touching this file, I also removed some unnecessary
    comparisons to `false`. (`_ManifestAssetBundle.wasBuiltOnce()` is the
    only implementation I can find of `AssetBundle.wasBuiltOnce()`, and
    it never returns `null`.)
    14c5c6e1
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
build_runner Loading commit data...
build_system Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
intellij Loading commit data...
ios Loading commit data...
linux Loading commit data...
macos Loading commit data...
runner Loading commit data...
tester Loading commit data...
web Loading commit data...
windows Loading commit data...
analytics_test.dart Loading commit data...
application_package_test.dart Loading commit data...
artifacts_test.dart Loading commit data...
asset_bundle_package_fonts_test.dart Loading commit data...
asset_bundle_package_test.dart Loading commit data...
asset_bundle_test.dart Loading commit data...
asset_bundle_variant_test.dart Loading commit data...
asset_test.dart Loading commit data...
base_utils_test.dart Loading commit data...
bug_report_test.dart Loading commit data...
build_info_test.dart Loading commit data...
bundle_shim_test.dart Loading commit data...
cache_test.dart Loading commit data...
channel_test.dart Loading commit data...
cold_test.dart Loading commit data...
compile_batch_test.dart Loading commit data...
compile_expression_test.dart Loading commit data...
compile_incremental_test.dart Loading commit data...
compile_test.dart Loading commit data...
config_test.dart Loading commit data...
coverage_collector_test.dart Loading commit data...
crash_reporting_test.dart Loading commit data...
devfs_test.dart Loading commit data...
device_test.dart Loading commit data...
doctor.dart Loading commit data...
emulator_test.dart Loading commit data...
features_test.dart Loading commit data...
flutter_manifest_test.dart Loading commit data...
flutter_platform_test.dart Loading commit data...
forbidden_imports_test.dart Loading commit data...
hot_test.dart Loading commit data...
mdns_discovery_test.dart Loading commit data...
package_uri_mapper_test.dart Loading commit data...
plugin_parsing_test.dart Loading commit data...
plugins_test.dart Loading commit data...
project_file_invalidator_test.dart Loading commit data...
project_test.dart Loading commit data...
protocol_discovery_test.dart Loading commit data...
resident_runner_test.dart Loading commit data...
resident_web_runner_cold_test.dart Loading commit data...
resident_web_runner_test.dart Loading commit data...
terminal_handler_test.dart Loading commit data...
test_compiler_test.dart Loading commit data...
testbed_test.dart Loading commit data...
time_test.dart Loading commit data...
utils_test.dart Loading commit data...
version_test.dart Loading commit data...
vmservice_test.dart Loading commit data...