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

Function isSearchOrReadCommand

src/tools/GrepTool/GrepTool.ts:192–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 return input.path ? `${input.pattern} in ${input.path}` : input.pattern
191 },
192 isSearchOrReadCommand() {
193 return { isSearch: true, isRead: false }
194 },
195 getPath({ path }): string {
196 return path || getCwd()
197 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected