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

Class DirFd

crates/vm/src/stdlib/os.rs:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39// XXX: AVAILABLE should be a bool, but we can't yet have it as a bool and just cast it to usize
40#[derive(Copy, Clone, PartialEq, Eq)]
41pub struct DirFd<'fd, const AVAILABLE: usize>(pub(crate) [crt_fd::Borrowed<'fd>; AVAILABLE]);
42
43impl<const AVAILABLE: usize> Default for DirFd<'_, AVAILABLE> {
44 fn default() -> Self {

Callers 1

stat_dir_fdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected