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

Method clear_draft_chunks

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

Source from the content-addressed store, hash-verified

613
614 #[rpc_auth(auth = "bearer", scope = "config:write", role = "admin")]
615 async fn clear_draft_chunks(
616 &self,
617 request: Request<ClearDraftChunksRequest>,
618 ) -> Result<Response<ClearDraftChunksResponse>, Status> {
619 policy::handle_clear_draft_chunks(&self.state, request).await
620 }
621
622 #[rpc_auth(auth = "bearer", scope = "config:read", role = "user")]
623 async fn get_draft_history(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected