MCPcopy Create free account
hub / github.com/codeaashu/claude-code / preparePermissionMatcher

Function preparePermissionMatcher

src/tools/FileEditTool/FileEditTool.ts:122–124  ·  view source on GitHub ↗
({ file_path })

Source from the content-addressed store, hash-verified

120 }
121 },
122 async preparePermissionMatcher({ file_path }) {
123 return pattern => matchWildcardPattern(pattern, file_path)
124 },
125 async checkPermissions(input, context): Promise<PermissionDecision> {
126 const appState = context.getAppState()
127 return checkWritePermissionForTool(

Callers

nothing calls this directly

Calls 1

matchWildcardPatternFunction · 0.50

Tested by

no test coverage detected