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

Method valid_write

crates/vm/src/stdlib/_io.rs:862–864  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

860
861 #[inline]
862 const fn valid_write(&self) -> bool {
863 self.writable() && self.write_end != -1
864 }
865
866 #[inline]
867 const fn raw_offset(&self) -> Offset {

Callers 3

raw_offsetMethod · 0.80
flushMethod · 0.80
writeMethod · 0.80

Calls 1

writableMethod · 0.45

Tested by

no test coverage detected