MCPcopy Index your code
hub / github.com/RustPython/RustPython / write

Method write

crates/stdlib/src/posixsubprocess.rs:145–147  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

143
144impl Write for Fd {
145 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
146 Ok(unistd::write(self, buf)?)
147 }
148
149 fn flush(&mut self) -> std::io::Result<()> {
150 Ok(())

Callers

nothing calls this directly

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected