Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ cvt_fd
Function
cvt_fd
crates/common/src/crt_fd.rs:49–51 ·
view source on GitHub ↗
(ret: Raw)
Source
from the content-addressed store, hash-verified
47
}
48
49
fn cvt_fd(ret: Raw) -> io::Result<Owned> {
50
cvt(ret).map(|fd| unsafe { Owned::from_raw(fd) })
51
}
52
53
const MAX_RW: usize = if cfg!(any(windows, target_vendor =
"apple"
)) {
54
i32::MAX as usize
Callers
3
open
Function · 0.85
wopen
Function · 0.85
openat
Function · 0.85
Calls
2
cvt
Function · 0.85
map
Method · 0.45
Tested by
no test coverage detected