MCPcopy Create free account
hub / github.com/vercel/vercel / getCompileAllAppExcludeRegex

Function getCompileAllAppExcludeRegex

packages/python/src/compileall.ts:148–152  ·  view source on GitHub ↗
(workPath: string)

Source from the content-addressed store, hash-verified

146 * same directories the source-file glob excludes.
147 */
148export function getCompileAllAppExcludeRegex(workPath: string): string {
149 const excludedDirs =
150 COMPILEALL_APP_EXCLUDED_DIRS.map(escapePythonRegex).join('|');
151 return `${escapePythonRegex(workPath)}[/\\\\](?:${excludedDirs})(?:[/\\\\]|$)`;
152}
153
154export async function collectAppBytecodeFiles({
155 workPath,

Callers 2

compileall.test.tsFile · 0.90

Calls 2

escapePythonRegexFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected