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

Function filterExposedResources

src/visibility/exposure.ts:160–165  ·  view source on GitHub ↗
(
  resources: ResourceManifestEntry[],
  ctx: PredicateContext,
)

Source from the content-addressed store, hash-verified

158 * Filter resources based on exposure rules.
159 */
160export function filterExposedResources(
161 resources: ResourceManifestEntry[],
162 ctx: PredicateContext,
163): ResourceManifestEntry[] {
164 return resources.filter((resource) => isResourceExposedForRuntime(resource, ctx));
165}
166
167/**
168 * Select workflows for MCP runtime according to the manifest-driven selection rules.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected