MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / getRecommendedWorkflowIds

Function getRecommendedWorkflowIds

src/cli/commands/setup.ts:235–245  ·  view source on GitHub ↗
(
  workflows: WorkflowManifestEntry[],
  platforms: SetupPlatform[],
)

Source from the content-addressed store, hash-verified

233}
234
235function getRecommendedWorkflowIds(
236 workflows: WorkflowManifestEntry[],
237 platforms: SetupPlatform[],
238): string[] {
239 const selectedPlatforms = new Set<SetupPlatform>(platforms);
240 return workflows
241 .filter((workflow) =>
242 workflow.targetPlatforms.some((platform) => selectedPlatforms.has(platform)),
243 )
244 .map((workflow) => workflow.id);
245}
246
247function getDefaultWorkflowIdsForPlatforms(
248 workflows: WorkflowManifestEntry[],

Callers 1

selectWorkflowIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected