MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / write

Method write

atomic-cli/src/logging/terminal.rs:72–75  ·  view source on GitHub ↗
(&mut self, bytes: &[u8])

Source from the content-addressed store, hash-verified

70
71 impl io::Write for Captured {
72 fn write(&mut self, bytes: &[u8]) -> io::Result<usize> {
73 self.0.lock().unwrap().extend_from_slice(bytes);
74 Ok(bytes.len())
75 }
76
77 fn flush(&mut self) -> io::Result<()> {
78 Ok(())

Callers 15

runMethod · 0.45
write_and_open_htmlFunction · 0.45
push_to_remoteMethod · 0.45
align_index_to_treeFunction · 0.45
write_project_treeFunction · 0.45
commit_fileFunction · 0.45
raw_treeFunction · 0.45
treeFunction · 0.45
write_new_executableFunction · 0.45

Calls 3

lockMethod · 0.80
unwrapMethod · 0.45
lenMethod · 0.45