MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / GrepQuery

Class GrepQuery

server/src/server/routes.rs:581–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579
580#[derive(Deserialize)]
581struct GrepQuery {
582 pattern: String,
583 max_matches: Option<usize>,
584 context_lines: Option<usize>,
585 /// Optional scope filter: "all" (default) or "code" (skip comments/strings).
586 scope: Option<String>,
587 /// Optional file path filter to restrict grep to matching files.
588 file: Option<String>,
589}
590
591async fn grep_handler(
592 State(state): State<AppState>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected