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

Function matchWildcardPattern

src/tools/BashTool/bashPermissions.ts:353–358  ·  view source on GitHub ↗
(
  pattern: string,
  command: string,
)

Source from the content-addressed store, hash-verified

351 * Delegates to shared implementation.
352 */
353export function matchWildcardPattern(
354 pattern: string,
355 command: string,
356): boolean {
357 return sharedMatchWildcardPattern(pattern, command)
358}
359
360/**
361 * Parse a permission rule into a structured rule object.

Callers 10

containsExcludedCommandFunction · 0.70
preparePermissionMatcherFunction · 0.70
matchesCommandFunction · 0.50
preparePermissionMatcherFunction · 0.50
preparePermissionMatcherFunction · 0.50
preparePermissionMatcherFunction · 0.50
preparePermissionMatcherFunction · 0.50
preparePermissionMatcherFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected