41 references to FileSystemPath
aspire (36)
Agents\AgentConfiguration.cs (4)
16private readonly Dictionary<string, byte[]?> _files = new(StringComparers.FileSystemPath); 17private readonly Dictionary<string, (bool Exists, string[] Files)> _directories = new(StringComparers.FileSystemPath); 25foreach (var targets in clients.Distinct().GroupBy(client => Path.GetFullPath(client.GetIntegrationConfigPath(scope, workspaceRoot)), StringComparers.FileSystemPath)) 194if (previous.Exists != current.Exists || !previous.Files.SequenceEqual(current.Files, StringComparers.FileSystemPath))
Agents\AspireSkills\AspireSkillsRemoteConfiguration.cs (1)
241foreach (var path in paths.Distinct(StringComparers.FileSystemPath))
Agents\AspireSkills\LocalAspireSkills.cs (1)
71.OrderBy(entry => entry.Directory, StringComparers.FileSystemPath)
Agents\OpenCode\OpenCodeAgentClient.cs (3)
77var candidateConfig = StringComparers.FileSystemPath.Equals(candidate, configFilePath) 210.Concat(GlobalCatalogSettings()).Distinct(StringComparers.FileSystemPath); 222.Concat(OpenCodePaths.GetConfigPaths(OpenCodePaths.GetManagedSettingsDirectory(context, environment))).Distinct(StringComparers.FileSystemPath);
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
42private readonly ConcurrentDictionary<string, AppHostAuxiliaryBackchannel> _connectionsBySocketPath = new(StringComparers.FileSystemPath); 46private readonly HashSet<string> _knownSocketPaths = new(StringComparers.FileSystemPath); 50private readonly ConcurrentDictionary<string, UnreachableSocket> _unreachableSockets = new(StringComparers.FileSystemPath); 405var currentSocketPaths = currentSockets.Select(socket => socket.SocketPath).ToHashSet(StringComparers.FileSystemPath); 420var removedFiles = _knownSocketPaths.Except(currentSocketPaths, StringComparers.FileSystemPath).ToList();
Commands\AgentInitCommand.cs (3)
1022foreach (var directory in installedSkills.Select(static skill => skill.Directory).Distinct(StringComparers.FileSystemPath)) 1025StringComparers.FileSystemPath.Equals(directory, client.GetSkillBaseDirectory(scope, workspaceRoot))) 1251StringComparers.FileSystemPath.Equals(Path.TrimEndingDirectorySeparator(left), Path.TrimEndingDirectorySeparator(right));
Commands\AppHostLauncher.cs (1)
746return StringComparers.FileSystemPath.Equals(
Commands\StopCommand.cs (1)
394StringComparers.FileSystemPath.Equals(
Configuration\ConfigSourceService.cs (1)
881if (_projectDirectory is not null && !StringComparers.FileSystemPath.Equals(_projectDirectory, path))
DotNet\DotNetAppHostRestorePreview.cs (1)
99foreach (var path in candidate is null ? [] : new[] { rootProject.FullName }.Concat(projectRestoreTargets.Keys).Distinct(StringComparers.FileSystemPath))
DotNet\DotNetAppHostUpdateTransaction.cs (5)
26StringComparers.FileSystemPath); 33.Distinct(StringComparers.FileSystemPath).ToArray(); 78File.Move(temporary, backup, overwrite: existingBackups.Contains(backup, StringComparers.FileSystemPath)); 81if (existingBackups.Contains(otherBackup, StringComparers.FileSystemPath)) 97.Distinct(StringComparers.FileSystemPath).ToArray();
Projects\DotNetBasedAppHostServerProject.cs (1)
181var addedProjects = new HashSet<string>(StringComparers.FileSystemPath);
Projects\ProjectUpdater.cs (4)
45var originalConfigurations = new Dictionary<string, byte[]?>(StringComparers.FileSystemPath); 2125public Dictionary<string, string> ProjectRestoreTargets { get; } = new(StringComparers.FileSystemPath); 2126public Dictionary<string, string> AmbientPolicies { get; } = new(StringComparers.FileSystemPath); 2128public Dictionary<string, byte[]?> OriginalFiles { get; } = new(StringComparers.FileSystemPath);
Scaffolding\ScaffoldingService.cs (1)
183!StringComparers.FileSystemPath.Equals(directory.FullName, scaffoldDirectory.FullName))
src\Shared\AppHostSocketManager.cs (2)
117.Distinct(StringComparers.FileSystemPath); 235foreach (var socketPath in socketPaths.Distinct(StringComparers.FileSystemPath))
src\Shared\BackchannelConstants.cs (1)
344return results.Distinct(StringComparers.FileSystemPath).ToArray();
Utils\EnvironmentChecker\AspireSkillsCheck.cs (1)
34.DistinctBy(copy => copy.Directory, StringComparers.FileSystemPath)
Aspire.Cli.Tests (5)
Agents\LocalAspireSkillsTests.cs (3)
38names.Select(name => (Path.Combine(skills, name), AgentConfigurationScope.Project)).OrderBy(entry => entry.Item1, StringComparers.FileSystemPath), 66paths.Select(path => (path, AgentConfigurationScope.Project)).OrderBy(entry => entry.path, StringComparers.FileSystemPath), 84.OrderBy(entry => entry.Item1, StringComparers.FileSystemPath),
Commands\DoctorCommandTests.cs (1)
44.Order(StringComparers.FileSystemPath).ToArray();
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
13private readonly ConcurrentDictionary<string, IAppHostAuxiliaryBackchannel> _connectionsBySocketPath = new(StringComparers.FileSystemPath);