MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / undo_draft_chunk

Method undo_draft_chunk

crates/openshell-server/src/grpc/mod.rs:607–612  ·  view source on GitHub ↗
(
        &self,
        request: Request<UndoDraftChunkRequest>,
    )

Source from the content-addressed store, hash-verified

605
606 #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")]
607 async fn undo_draft_chunk(
608 &self,
609 request: Request<UndoDraftChunkRequest>,
610 ) -> Result<Response<UndoDraftChunkResponse>, Status> {
611 policy::handle_undo_draft_chunk(&self.state, request).await
612 }
613
614 #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")]
615 async fn clear_draft_chunks(

Callers

nothing calls this directly

Calls 1

handle_undo_draft_chunkFunction · 0.85

Tested by

no test coverage detected