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

Function project_routes

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

Source from the content-addressed store, hash-verified

3253}
3254
3255fn project_routes() -> Router<Arc<ServerState>> {
3256 Router::new()
3257 .route("/", get(list_projects))
3258 .route("/current", get(get_current_project))
3259 .route("/{id}", patch(update_project))
3260}
3261
3262#[derive(Debug, Serialize)]
3263pub struct ProjectInfo {

Callers 1

routerFunction · 0.85

Calls 2

newFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected