21 references to PathLookupHelper
aspire (4)
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("claude");
Agents\CopilotCli\CopilotCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("copilot");
Agents\OpenCode\OpenCodeCliRunner.cs (1)
21var executablePath = PathLookupHelper.FindFullPathFromPath("opencode");
Agents\VsCode\VsCodeCliRunner.cs (1)
22var executablePath = PathLookupHelper.FindFullPathFromPath(command);
Aspire.Cli.Tests (17)
Utils\PathLookupHelperTests.cs (17)
18var result = PathLookupHelper.FindFullPathFromPath("mycommand", "/usr/bin:/usr/local/bin", ':', existingFiles.Contains, null); 31var result = PathLookupHelper.FindFullPathFromPath("mycommand", "/usr/bin:/usr/local/bin", ':', AlwaysFalse, null); 44var result = PathLookupHelper.FindFullPathFromPath("mycommand", "", ':', AlwaysFalse, null); 57var result = PathLookupHelper.FindFullPathFromPath("mycommand", null, ':', AlwaysFalse, null); 74var result = PathLookupHelper.FindFullPathFromPath("mycommand", "/first/path:/second/path", ':', existingFiles.Contains, null); 92var result = PathLookupHelper.FindFullPathFromPath("mycommand", $"{dir};otherdir", ';', existingFiles.Contains, null); 111var result = PathLookupHelper.FindFullPathFromPath("code", dir, ';', existingFiles.Contains, pathExtensions); 132var result = PathLookupHelper.FindFullPathFromPath("code", dir, ';', existingFiles.Contains, pathExtensions); 156var result = PathLookupHelper.FindFullPathFromPath("code", dir, ';', existingFiles.Contains, pathExtensions); 175var result = PathLookupHelper.FindFullPathFromPath("mytool", dir, ';', existingFiles.Contains, pathExtensions); 194var result = PathLookupHelper.FindFullPathFromPath("code.CMD", dir, ';', existingFiles.Contains, pathExtensions); 209var result = PathLookupHelper.FindFullPathFromPath("code.EXE", dir, ';', existingFiles.Contains, pathExtensions); 229var result = PathLookupHelper.FindFullPathFromPath("code.EXE", dir, ';', existingFiles.Contains, pathExtensions); 246var result = PathLookupHelper.FindFullPathFromPath("code", dir, ':', existingFiles.Contains, null); 263var result = PathLookupHelper.FindFullPathFromPath("code", dir, ':', existingFiles.Contains, []); 288var result = PathLookupHelper.FindFullPathFromPath("code", $"{dir1};{dir2}", ';', existingFiles.Contains, pathExtensions); 312var result = PathLookupHelper.FindFullPathFromPath("mytool", $"{dir1};{dir2}", ';', existingFiles.Contains, pathExtensions);