MCPcopy Create free account
hub / github.com/esengine/esengine / isBlocked

Function isBlocked

packages/build-config/src/plugins/block-editor.ts:63–70  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

61 }
62
63 const isBlocked = (source: string): boolean => {
64 return blockedPatterns.some(pattern => {
65 if (typeof pattern === 'string') {
66 return source === pattern || source.startsWith(pattern + '/');
67 }
68 return pattern.test(source);
69 });
70 };
71
72 return {
73 name: 'esengine:block-editor',

Callers 1

resolveIdFunction · 0.85

Calls 1

someMethod · 0.45

Tested by

no test coverage detected