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

Function getPath

src/tools/GrepTool/GrepTool.ts:195–197  ·  view source on GitHub ↗
({ path })

Source from the content-addressed store, hash-verified

193 return { isSearch: true, isRead: false }
194 },
195 getPath({ path }): string {
196 return path || getCwd()
197 },
198 async preparePermissionMatcher({ pattern }) {
199 return rulePattern => matchWildcardPattern(rulePattern, pattern)
200 },

Callers

nothing calls this directly

Calls 1

getCwdFunction · 0.85

Tested by

no test coverage detected