1 write to _cacheFilePath
aspire (1)
Telemetry\InternalMicrosoftDetector.cs (1)
81
_cacheFilePath
= cacheFilePath;
6 references to _cacheFilePath
aspire (6)
Telemetry\InternalMicrosoftDetector.cs (6)
301
if (!File.Exists(
_cacheFilePath
))
308
var json = await File.ReadAllTextAsync(
_cacheFilePath
, cancellationToken).ConfigureAwait(false);
324
_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.",
_cacheFilePath
);
332
var directory = Path.GetDirectoryName(
_cacheFilePath
);
353
File.Move(tempPath,
_cacheFilePath
, overwrite: true);
359
_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.",
_cacheFilePath
);