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

Method write

atomic-core/src/output/memory.rs:207–209  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

205
206impl Write for MemoryWriter {
207 fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
208 self.buffer.write(buf)
209 }
210
211 fn flush(&mut self) -> io::Result<()> {
212 // Flush writes the content to the in-memory storage

Callers 7

runMethod · 0.45
try_turn_end_lockMethod · 0.45
with_accumulatorMethod · 0.45
save_accumulatorMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45
clearMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected