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

Function session_unrevert

crates/opencode-server/src/routes.rs:2052–2056  ·  view source on GitHub ↗
(Path(_id): Path<String>)

Source from the content-addressed store, hash-verified

2050}
2051
2052async fn session_unrevert(Path(_id): Path<String>) -> Result<Json<serde_json::Value>> {
2053 Ok(Json(
2054 serde_json::json!({ "unreverted": true, "message": "Session unreverted successfully" }),
2055 ))
2056}
2057
2058#[derive(Debug, Deserialize)]
2059pub struct ExecuteCommandRequest {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected