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

Function minimatches

packages/cli/src/util/dev/server.ts:3415–3419  ·  view source on GitHub ↗
(files: string[], pattern: string)

Source from the content-addressed store, hash-verified

3413}
3414
3415function minimatches(files: string[], pattern: string): boolean {
3416 return files.some(
3417 file => file === pattern || minimatch(file, pattern, { dot: true })
3418 );
3419}
3420
3421function fileChanged(
3422 name: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected