Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_offset
Method · 0.80
flush
Method · 0.80
write
Method · 0.80
Calls
1
writable
Method · 0.45
Tested by
no test coverage detected