MCPcopy Create free account
hub / github.com/c4pt0r/pie / write

Method write

crates/coding-agent/src/spinner.rs:44–49  ·  view source on GitHub ↗
(&self, bytes: &[u8])

Source from the content-addressed store, hash-verified

42struct StderrSink;
43impl SpinnerSink for StderrSink {
44 fn write(&self, bytes: &[u8]) {
45 use std::io::Write;
46 let mut err = std::io::stderr();
47 let _ = err.write_all(bytes);
48 let _ = err.flush();
49 }
50}
51
52/// Test sink that appends every write to an in-memory buffer. Public-but-test-only so

Callers 5

write_messageFunction · 0.80
write_messageFunction · 0.80
stop_syncMethod · 0.80
draw_frameFunction · 0.80
create_archive_fileFunction · 0.80

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected