pathname icon indicating copy to clipboard operation
pathname copied to clipboard

Make Pathname comparable

Open gmcgibbon opened this issue 1 year ago • 0 comments

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.

gmcgibbon avatar Aug 01 '24 21:08 gmcgibbon