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

Function read_path

crates/runner-shared/src/telemetry/tests.rs:101–103  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

99}
100
101fn read_path<R: TelemetryRow>(path: &Path) -> Vec<R> {
102 read(&std::fs::read(path).unwrap()).unwrap()
103}
104
105fn encode(record: &impl Serialize) -> Vec<u8> {
106 rmp_serde::to_vec(record).unwrap()

Callers

nothing calls this directly

Calls 1

readFunction · 0.70

Tested by

no test coverage detected