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

Class ContentRange

src/upload/uploader.rs:166–170  ·  view source on GitHub ↗

A byte range of the archive content, sent as a request body.

Source from the content-addressed store, hash-verified

164
165/// A byte range of the archive content, sent as a request body.
166struct ContentRange<'a> {
167 content: &'a ProfileArchiveContent,
168 offset: u64,
169 length: u64,
170}
171
172impl ContentRange<'_> {
173 /// Attach this range as the body of `request`. The body is rebuilt on every call,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected