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

Method delete_draft_chunks

crates/openshell-server/src/policy_store.rs:273–278  ·  view source on GitHub ↗
(&self, sandbox_id: &str, status: &str)

Source from the content-addressed store, hash-verified

271 }
272
273 async fn delete_draft_chunks(&self, sandbox_id: &str, status: &str) -> PersistenceResult<u64> {
274 match self {
275 Self::Postgres(store) => store.delete_draft_chunks(sandbox_id, status).await,
276 Self::Sqlite(store) => store.delete_draft_chunks(sandbox_id, status).await,
277 }
278 }
279
280 async fn get_draft_version(&self, sandbox_id: &str) -> PersistenceResult<i64> {
281 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected