pyfilesystem2 icon indicating copy to clipboard operation
pyfilesystem2 copied to clipboard

Add are_same_path function?

Open lurch opened this issue 3 years ago • 0 comments

As suggested in https://github.com/PyFilesystem/pyfilesystem2/pull/542#discussion_r916779643 it might be nice if there was a some_fs.are_same_path(path1, path2) function, which would normpath each of the paths, and do a case-insensitive string comparison on case-insensitive filesystems.

lurch avatar Jul 21 '22 11:07 lurch