5 references to FindAllFullPathsFromPath
Aspire.Hosting (1)
src\Shared\PathLookupHelper.cs (1)
98return FindAllFullPathsFromPath(command, Environment.GetEnvironmentVariable("PATH"), Path.PathSeparator, FileExistsAndIsExecutable, pathExtensions);
Aspire.Hosting.Tests (4)
PathLookupHelperTests.cs (4)
188var result = PathLookupHelper.FindAllFullPathsFromPath("mycommand", "/first/path:/second/path", ':', existingFiles.Contains, null); 198var result = PathLookupHelper.FindAllFullPathsFromPath("mycommand", "/usr/bin:/usr/local/bin", ':', AlwaysFalse, null); 241var result = PathLookupHelper.FindAllFullPathsFromPath( 266var result = PathLookupHelper.FindAllFullPathsFromPath("code", path, ';', existingFiles.Contains, pathExtensions);