1 write to _cacheFilePath
aspire (1)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
98_cacheFilePath = cacheFilePath;
6 references to _cacheFilePath
aspire (6)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (6)
495if (!File.Exists(_cacheFilePath)) 502var json = await File.ReadAllTextAsync(_cacheFilePath, cancellationToken).ConfigureAwait(false); 533_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.", _cacheFilePath); 553var directory = Path.GetDirectoryName(_cacheFilePath); 576File.Move(tempPath, _cacheFilePath, overwrite: true); 582_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.", _cacheFilePath);