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

Function _path_lexists

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

Source from the content-addressed store, hash-verified

839 /// return _testFileExists(path, FALSE)
840 #[pyfunction]
841 fn _path_lexists(args: PathArg, vm: &VirtualMachine) -> bool {
842 args.to_path_or_fd(vm)
843 .is_some_and(|p| _test_file_exists(&p, false))
844 }
845
846 /// Check if a path is on a Windows Dev Drive.
847 #[pyfunction]

Callers

nothing calls this directly

Calls 2

_test_file_existsFunction · 0.85
to_path_or_fdMethod · 0.80

Tested by

no test coverage detected