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

Method get_draft_chunk

crates/openshell-server/src/policy_store.rs:223–228  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

221 }
222
223 async fn get_draft_chunk(&self, id: &str) -> PersistenceResult<Option<DraftChunkRecord>> {
224 match self {
225 Self::Postgres(store) => store.get_draft_chunk(id).await,
226 Self::Sqlite(store) => store.get_draft_chunk(id).await,
227 }
228 }
229
230 async fn list_draft_chunks(
231 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected