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

Method reset_read

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

Source from the content-addressed store, hash-verified

882 }
883
884 const fn reset_read(&mut self) {
885 self.read_end = -1;
886 }
887
888 const fn reset_write(&mut self) {
889 self.write_pos = 0;

Callers 8

flush_rewindMethod · 0.80
seekMethod · 0.80
writeMethod · 0.80
read_genericMethod · 0.80
peekMethod · 0.80
readinto_genericMethod · 0.80
initMethod · 0.80
read1Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected