MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / find_routes

Function find_routes

crates/opencode-server/src/routes.rs:3054–3059  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3052}
3053
3054fn find_routes() -> Router<Arc<ServerState>> {
3055 Router::new()
3056 .route("/text", get(find_text))
3057 .route("/file", get(find_files))
3058 .route("/symbol", get(find_symbols))
3059}
3060
3061#[derive(Debug, Deserialize)]
3062pub struct FindTextQuery {

Callers 1

routerFunction · 0.85

Calls 2

newFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected