NSFileManager’s “- moveItemAtURL: toURL: error:” method does a copy if the 
source and destination file-URLs are on different volumes. Does “- 
replaceItemAtURL: withItemAtURL: backupItemName: options: resultingItemURL: 
error:” do similar? The docs for the latter don’t mention it. I’m worried since 
those docs do mention temporary directories, that we have to do 
different-volume detection (possibly harder than in the pre-X days) and copying 
manually. I don’t want to do that, since Apple already includes that logic in 
the former method.

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________

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