MCPcopy Create free account
hub / github.com/GCWing/BitFun / write

Method write

src/apps/cli/src/logging.rs:148–151  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

146
147impl Write for RotatingFile {
148 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
149 self.buffer.extend_from_slice(buf);
150 Ok(buf.len())
151 }
152
153 fn flush(&mut self) -> std::io::Result<()> {
154 if self.buffer.is_empty() {

Callers 15

rpcSendFunction · 0.45
rpcEmitFunction · 0.45
ensure_serviceFunction · 0.45
set_macos_edit_menu_modeFunction · 0.45
initialize_aiFunction · 0.45
open_remote_workspaceFunction · 0.45
new_asyncMethod · 0.45

Calls 2

lenMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected