Structured search results or error string for invalid input.
grep(
pattern: string,
path: string | null = "/",
glob: string | null = null,
maxCount: number | null = null
): Promise<GrepResult>| Name | Type | Description |
|---|---|---|
pattern* | string | |
path | string | null | Default: "/" |
glob | string | null | Default: null |
maxCount | number | null | Default: nullOptional total cap on returned matches across all routed
backends. When the cap is reached, remaining routes are
short-circuited and the result is flagged |