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

Function _path_isjunction

crates/vm/src/stdlib/nt.rs:825–828  ·  view source on GitHub ↗
(args: PathArg, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

823 /// return _testFileType(path, PY_IFMNT)
824 #[pyfunction]
825 fn _path_isjunction(args: PathArg, vm: &VirtualMachine) -> bool {
826 args.to_path_or_fd(vm)
827 .is_some_and(|p| _test_file_type(&p, PY_IFMNT))
828 }
829
830 /// Check if a path exists (follows symlinks).
831 /// return _testFileExists(path, TRUE)

Callers

nothing calls this directly

Calls 2

_test_file_typeFunction · 0.85
to_path_or_fdMethod · 0.80

Tested by

no test coverage detected