Begin a streamed mod upload (`None` if mods are disabled). The handler writes the uploaded body to it chunk-by-chunk, then calls `finalize_mod_upload`.
(&self)
| 129 | Some(store) => store.get_mod(mod_id).await, |
| 130 | None => Ok(None), |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | pub const fn mods_enabled(&self) -> bool { |
| 135 | self.mod_store.is_some() |
| 136 | } |
| 137 | |
| 138 | /// Begin a streamed mod upload (`None` if mods are disabled). The handler writes the |
| 139 | /// uploaded body to it chunk-by-chunk, then calls `finalize_mod_upload`. |
no test coverage detected