(
&self,
chunk: &DraftChunkRecord,
dedup_key: Option<&str>,
)
| 210 | } |
| 211 | |
| 212 | async fn put_draft_chunk( |
| 213 | &self, |
| 214 | chunk: &DraftChunkRecord, |
| 215 | dedup_key: Option<&str>, |
| 216 | ) -> PersistenceResult<String> { |
| 217 | match self { |
| 218 | Self::Postgres(store) => store.put_draft_chunk(chunk, dedup_key).await, |
| 219 | Self::Sqlite(store) => store.put_draft_chunk(chunk, dedup_key).await, |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | async fn get_draft_chunk(&self, id: &str) -> PersistenceResult<Option<DraftChunkRecord>> { |
| 224 | match self { |
nothing calls this directly
no outgoing calls
no test coverage detected