Nov. 7, 2022
7:31 p.m.
Junctions are contextually similar to symlinks on Windows. I propose adding a mechanism to both pathlib.Path and os.path to check if a given path is a junction or not. Currently is_symlink/islink return False for junctions. Maybe isjunction in os.path and is_junction in pathlib.Path? Part of me thinks about adding an junction_ok param to the existing islink and is_symlink since they are often similar in usage. Thoughts?