1 write to MetadataPath
Aspire.Hosting (1)
ApplicationModel\TerminalHostLayout.cs (1)
45MetadataPath = metadataPath;
12 references to MetadataPath
Aspire.Hosting (1)
TerminalResourceBuilderExtensions.cs (1)
268layout.MetadataPath,
Aspire.Hosting.Tests (11)
WithTerminalTests.cs (11)
319h.Layout.MetadataPath, 329File.Exists(host.Layout.MetadataPath), 330$"Metadata sidecar '{host.Layout.MetadataPath}' should exist after BeforeStartEvent."); 379Assert.True(File.Exists(host.Layout.MetadataPath)); 381using var doc = JsonDocument.Parse(await File.ReadAllTextAsync(host.Layout.MetadataPath)); 404Assert.Equal(_terminalDirectory, Path.GetDirectoryName(host.Layout.MetadataPath)); 405Assert.False(File.Exists(TerminalHostPaths.GetMetadataTemporaryPath(host.Layout.MetadataPath))); 410var mode = File.GetUnixFileMode(host.Layout.MetadataPath); 1014host.Layout.MetadataPath, 1143Assert.Equal(expectedDirectory, Path.GetDirectoryName(host.Layout.MetadataPath)); 1148Assert.StartsWith(host.Layout.ReplicaId + ".", Path.GetFileName(host.Layout.MetadataPath));