On 27 Jun 2017, at 06:28, Jens Alfke <j...@mooseyard.com> wrote: > >> On Jun 26, 2017, at 7:38 PM, Rick Mann <rm...@latencyzero.com> wrote: >> >> But there's actually a POSIX "clone" API, and so I wonder if a copy is >> different from a clone. > > The low level file copying API that I’m aware of is <copyfiles.h>, which is > Apple specific. It has options for doing copy-on-write. > I don’t know if NSFileManager’s copy method clones files. I would assume that > it does, on APFS.
That certainly seemed to be what the WWDC video suggested. Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ 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