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

Function isSearchOrReadCommand

src/tools/GlobTool/GlobTool.ts:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 return input.pattern
84 },
85 isSearchOrReadCommand() {
86 return { isSearch: true, isRead: false }
87 },
88 getPath({ path }): string {
89 return path ? expandPath(path) : getCwd()
90 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected