(args: PathArg, vm: &VirtualMachine)
| 807 | /// return _testFileType(path, PY_IFREG) |
| 808 | #[pyfunction] |
| 809 | fn _path_isfile(args: PathArg, vm: &VirtualMachine) -> bool { |
| 810 | args.to_path_or_fd(vm) |
| 811 | .is_some_and(|p| _test_file_type(&p, PY_IFREG)) |
| 812 | } |
| 813 | |
| 814 | /// Check if a path is a symbolic link. |
| 815 | /// return _testFileType(path, PY_IFLNK) |
nothing calls this directly
no test coverage detected