6 references to DirectoryWatchMetadata
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Internal\CertificatePathWatcher.cs (6)
23
private readonly Dictionary<string,
DirectoryWatchMetadata
> _metadataForDirectory = new();
118
if (!_metadataForDirectory.TryGetValue(dir, out
var
dirMetadata))
176
var
dirMetadata = _metadataForDirectory[Path.GetDirectoryName(path)!];
238
var
dirMetadata = _metadataForDirectory[dir];
265
internal int TestGetFileWatchCountUnsynchronized(string dir) => _metadataForDirectory.TryGetValue(dir, out
var
metadata) ? metadata.FileWatchCount : 0;
278
foreach (
var
dirMetadata in _metadataForDirectory.Values)