MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isSourceAdminTrusted

Function isSourceAdminTrusted

src/utils/settings/pluginOnlyPolicy.ts:58–60  ·  view source on GitHub ↗
(source: string | undefined)

Source from the content-addressed store, hash-verified

56 * if (item.hooks && allowed) { register(...) }
57 */
58export function isSourceAdminTrusted(source: string | undefined): boolean {
59 return source !== undefined && ADMIN_TRUSTED_SOURCES.has(source)
60}
61

Callers 3

runAgentFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected