Since the file system is case insensitive, why not store the path in upper or 
lower case, and convert the path you’re comparing accordingly? 

> When adding new files, I need to make sure the file is not already in the
> database so I compare the paths. This works well except when the case
> changes.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to