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

Function get_vcs_info

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

Source from the content-addressed store, hash-verified

4351}
4352
4353async fn get_vcs_info() -> Result<Json<VcsInfo>> {
4354 Ok(Json(VcsInfo {
4355 system: Some("git".to_string()),
4356 branch: None,
4357 root: None,
4358 }))
4359}
4360
4361#[derive(Debug, Serialize)]
4362struct CommandInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected