pathname
pathname copied to clipboard
Make Pathname comparable
I tried comparing pathnames to see if one was a subdirectory of another, and noticed it implements <=> but doesn't include Comparable. This allows pathnames respond to comparison operators and methods like their backing strings do.