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

Function getPath

src/tools/GlobTool/GlobTool.ts:88–90  ·  view source on GitHub ↗
({ path })

Source from the content-addressed store, hash-verified

86 return { isSearch: true, isRead: false }
87 },
88 getPath({ path }): string {
89 return path ? expandPath(path) : getCwd()
90 },
91 async preparePermissionMatcher({ pattern }) {
92 return rulePattern => matchWildcardPattern(rulePattern, pattern)
93 },

Callers

nothing calls this directly

Calls 2

expandPathFunction · 0.85
getCwdFunction · 0.85

Tested by

no test coverage detected