Search for a literal text pattern in files.
Overrides BaseSandbox.grepRaw() to normalize paths with a leading /
so they resolve correctly in the temp execution directory.
grepRaw(
pattern: string,
searchPath: string = "/",
glob: string | null = null
): Promise<string | GrepMatch[]>| Name | Type | Description |
|---|---|---|
pattern* | string | |
searchPath | string | Default: "/" |
glob | string | null | Default: null |