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

Method write_event

crates/runner-shared/src/artifacts/memtrack.rs:109–112  ·  view source on GitHub ↗

Write a single event to the stream

(&mut self, event: &MemtrackEvent)

Source from the content-addressed store, hash-verified

107
108 /// Write a single event to the stream
109 pub fn write_event(&mut self, event: &MemtrackEvent) -> anyhow::Result<()> {
110 event.serialize(&mut self.serializer)?;
111 Ok(())
112 }
113
114 /// Finish writing and flush the compression stream
115 pub fn finish(self) -> anyhow::Result<()> {

Callers 3

track_commandFunction · 0.80
write_eventsFunction · 0.80
encode_to_writerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected