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

Function read

crates/runner-shared/src/telemetry/tests.rs:97–99  ·  view source on GitHub ↗
(artifact: &[u8])

Source from the content-addressed store, hash-verified

95}
96
97fn read<R: TelemetryRow>(artifact: &[u8]) -> anyhow::Result<Vec<R>> {
98 TelemetryReader::<R, _>::new(artifact)?.collect()
99}
100
101fn read_path<R: TelemetryRow>(path: &Path) -> Vec<R> {
102 read(&std::fs::read(path).unwrap()).unwrap()

Callers 3

read_pathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected