PR Summary

What problems was I solving

Five gitignore-style pattern-matching utilities (allPathsMatch, anyPathMatches, explainMatch, filterPaths, and validatePatterns) were exposed from api-builder/main but had no callers inside or outside the repo. Keeping them expanded the public surface area and added dead code to bundles without providing any value.

What user-facing changes did I ship

There are no user-facing changes. This is an internal cleanup of unused library code.

How I implemented it

I deleted the unused function definitions from architect/api-builder/main/shared/utils/pattern-matcher.ts and trimmed the export statement in architect/api-builder/main/index.ts to re-export only the still-live matchesPatterns helper. No tests or consumers needed updating.

Description for the changelog

Removed five unused gitignore-style pattern utilities (allPathsMatch, anyPathMatches, explainMatch, filterPaths, and validatePatterns) from api-builder/main, along with their public re-exports. The live matchesPatterns helper remains available and is unchanged.

api-builder pattern-matcher dead code removal

low2 files
Removes five unused gitignore-style pattern utilities from the api-builder shared utils surface and their public re-exports, retaining the live `matchesPatterns` helper.