1 write to _cacheFilePath
aspire (1)
Telemetry\InternalMicrosoftDetector.cs (1)
95
_cacheFilePath
= cacheFilePath;
6 references to _cacheFilePath
aspire (6)
Telemetry\InternalMicrosoftDetector.cs (6)
491
if (!File.Exists(
_cacheFilePath
))
498
var json = await File.ReadAllTextAsync(
_cacheFilePath
, cancellationToken).ConfigureAwait(false);
529
_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.",
_cacheFilePath
);
549
var directory = Path.GetDirectoryName(
_cacheFilePath
);
572
File.Move(tempPath,
_cacheFilePath
, overwrite: true);
578
_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.",
_cacheFilePath
);