a62bfec074
The Windows and MacOS file system can be case insensitive, so the following two URIs can be equivalent: - file:///c:/foo/bar - file:///C:/Foo/Bar Since it's possible for tooling to request a mapping for a URI that isn't an exact case-sensitive match to that found in the URI mappings cache, requesting a mapping for the inexact match will fail even though the paths are potentially equivalent. This change allows for lookupPackageUris and lookupResolvedPackageUris to correctly handle paths that are not case-sensitive matches to entries in the URI mappings cache on Windows and MacOS. TEST=uri_mappings_lookup_test.dart Change-Id: I35134c47bf3bd04bc452373b31b4eb5893ba1435 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288821 Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Helin Shiah <helinx@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>