(&self, sandbox_id: &str)
| 278 | } |
| 279 | |
| 280 | async fn get_draft_version(&self, sandbox_id: &str) -> PersistenceResult<i64> { |
| 281 | match self { |
| 282 | Self::Postgres(store) => store.get_draft_version(sandbox_id).await, |
| 283 | Self::Sqlite(store) => store.get_draft_version(sandbox_id).await, |
| 284 | } |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | pub fn policy_payload_from_record(record: &PolicyRecord) -> PersistenceResult<Vec<u8>> { |
nothing calls this directly
no outgoing calls
no test coverage detected