MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / grep.ts

File grep.ts

packages/web/src/features/tools/grep.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { z } from "zod";
2import globToRegexp from "glob-to-regexp";
3import { isServiceError } from "@/lib/utils";
4import { search } from "@/features/search";

Callers

nothing calls this directly

Calls 4

searchFunction · 0.90
isServiceErrorFunction · 0.90
getRepoInfoByNameFunction · 0.90
globToFileRegexpFunction · 0.70

Tested by

no test coverage detected