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

Method encode_to_writer

crates/runner-shared/src/artifacts/mod.rs:35–39  ·  view source on GitHub ↗
(&self, mut writer: W)

Source from the content-addressed store, hash-verified

33 }
34
35 fn encode_to_writer<W: std::io::Write>(&self, mut writer: W) -> anyhow::Result<()> {
36 let encoded = rmp_serde::to_vec_named(self)?;
37 writer.write_all(&encoded)?;
38 Ok(())
39 }
40
41 fn save_file_to<P: AsRef<std::path::Path>>(
42 &self,

Callers 1

save_file_toMethod · 0.45

Implementers 2

execution_timestamps.rscrates/runner-shared/src/artifacts/exe
memtrack.rscrates/runner-shared/src/artifacts/mem

Calls

no outgoing calls

Tested by

no test coverage detected