MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / encoding

Method encoding

src/upload/profile_archive.rs:177–182  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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.

Callers 2

newMethod · 0.80
multipart_archiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected