(&self)
| 175 | } |
| 176 | |
| 177 | pub fn encoding(&self) -> Option<String> { |
| 178 | match self { |
| 179 | ProfileArchiveContent::CompressedInMemory { .. } => Some("gzip".to_string()), |
| 180 | ProfileArchiveContent::UncompressedOnDisk { .. } => None, |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | /// Request body holding `length` bytes of the content starting at `offset`. |
| 185 | /// On-disk content is streamed rather than loaded in memory. |
no outgoing calls
no test coverage detected