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)
495
if (!File.Exists(
_cacheFilePath
))
502
var json = await File.ReadAllTextAsync(
_cacheFilePath
, cancellationToken).ConfigureAwait(false);
533
_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.",
_cacheFilePath
);
553
var directory = Path.GetDirectoryName(
_cacheFilePath
);
576
File.Move(tempPath,
_cacheFilePath
, overwrite: true);
582
_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.",
_cacheFilePath
);