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

Method close

crates/runner-shared/src/telemetry/mod.rs:183–191  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 }
182
183 pub fn close(self) -> anyhow::Result<()> {
184 let encoder = self
185 .serializer
186 .into_inner()
187 .into_inner()
188 .map_err(|error| error.into_error())?;
189 encoder.finish()?.flush()?;
190 Ok(())
191 }
192}
193
194/// Reads the rows of a telemetry artifact as its bytes are read from `R`, such as an archive entry,

Callers 2

bench_writeFunction · 0.45
writeFunction · 0.45

Calls 2

flushMethod · 0.45
finishMethod · 0.45

Tested by 1

writeFunction · 0.36