MCPcopy Create free account
hub / github.com/angular/dev-infra / separateSyncMatchFn

Function separateSyncMatchFn

ng-dev/utils/g3-sync-config.ts:54–56  ·  view source on GitHub ↗
(projectRelativePath: string)

Source from the content-addressed store, hash-verified

52
53 // match only files that need to be synced separately
54 const separateSyncMatchFn = (projectRelativePath: string) =>
55 separateFilePatterns.some((p) => p.match(projectRelativePath)) &&
56 alwaysExternalFilePatterns.every((p) => !p.match(projectRelativePath));
57
58 return {ngSyncMatchFn, separateSyncMatchFn};
59}

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected