4 writes to Path
Microsoft.AspNetCore.Hosting.Tests (4)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (4)
34Path = "Microsoft.AspNetCore.Hosting.StaticWebAssets.xml" 382Path = "Static Web Assets.txt" 630Path = "Microsoft.AspNetCore.Hosting.StaticWebAssets.xml" 719Children = new() { ["file.version.js"] = new() { Match = new() { ContentRoot = 0, Path = "file.js" } } },
5 references to Path
Microsoft.AspNetCore.Hosting (5)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (5)
137files.RemoveWhere(f => string.Equals(match.Path, f.Name, _fsComparison)); 138var file = _fileProviders[match.ContentRoot].GetFileInfo(match.Path); 140files.Add(string.Equals(child.Key, match.Path, _fsComparison) ? file : 188var file = _fileProviders[match.ContentRoot].GetFileInfo(match.Path); 189if (!file.Exists || string.Equals(subpath, Normalize(match.Path), _fsComparison))