MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / list_projects

Function list_projects

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

Source from the content-addressed store, hash-verified

3319}
3320
3321async fn list_projects() -> Result<Json<Vec<ProjectInfo>>> {
3322 Ok(Json(vec![current_project_info().await?]))
3323}
3324
3325async fn get_current_project() -> Result<Json<ProjectInfo>> {
3326 Ok(Json(current_project_info().await?))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected