On 26 Mar 2014, at 10:19, Colas B <colasj...@yahoo.fr> wrote:

> 
> What is the difference between writing a hard link and just ignore this 
> particular file that has not changed ? If the file is already there, where 
> the hard link will be created?
> 
> Envoyé depuis Yahoo Mail pour iPad

NSFileWrapper doesn’t support incremental writing of files/packages. Instead 
what’s likely happening in your situation:

1. NSDocument asks you to write the document to a temporary folder
2. You do so using NSFileWrapper
3. NSDocument then atomically replaces the original document with the new 
version from the temp folder

So the hard links are created inside the temporary version of the document.
_______________________________________________

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