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

Method path

crates/vm/src/stdlib/os.rs:644–646  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

642
643 #[pygetset]
644 fn path(&self, vm: &VirtualMachine) -> PyResult {
645 Ok(self.mode.process_path(&self.pathval, vm))
646 }
647
648 /// Build the DirFd to use for stat calls.
649 /// If this entry was produced by fd-based scandir, use the stored dir_fd

Callers 12

load_client_ca_listFunction · 0.45
load_from_dirMethod · 0.45
__fspath__Method · 0.45
nextMethod · 0.45
generate_class_defFunction · 0.45
parse_fieldsFunction · 0.45
compile_dirMethod · 0.45
parseMethod · 0.45
impl_pymoduleFunction · 0.45
from_attributeMethod · 0.45
pytraverse_argFunction · 0.45

Calls 1

process_pathMethod · 0.80

Tested by

no test coverage detected