Comparing file paths
Comparing file paths
- Subject: Comparing file paths
- From: David Feldman <email@hidden>
- Date: Sat, 22 Dec 2001 16:59:26 -0500
I'm still working on an app that syncs directories via ditto, and have the
following questions:
1. How is an NSDirectoryEnumerator sorted, in terms of NSString's comparison
functions?
2. How is the array returned by NSFileManager's directoryContentsAtPath
method sorted?
3. What's the best comparison function for comparing filesystem paths as
strings?
Thanks,
--Dave