34
35
constructor(@IFileService private readonly _fileService: IFileService) {
37
>
const schemeIgnoresPathCasingCache = new Map<string, boolean>();
38
>
39
>
// assume path casing matters unless the file system provider spec'ed the opposite.
40
>
// for all other cases path casing matters, e.g for
41
>
// * virtual documents
42
>
// * in-memory uris
43
>
// * all kind of "private" schemes
44
>
const ignorePathCasing = (uri: URI): boolean => {
45
let ignorePathCasing = schemeIgnoresPathCasingCache.get(uri.scheme);
46
if (ignorePathCasing === undefined) {