Re: Notification of file system modification arrives too early?
Re: Notification of file system modification arrives too early?
- Subject: Re: Notification of file system modification arrives too early?
- From: Uli Kusterer <email@hidden>
- Date: Fri, 28 May 2010 13:07:05 +0200
On May 28, 2010, at 12:53 PM, Antonio Nunes wrote:
> On 28 May 2010, at 11:41, Antonio Nunes wrote:
>> I was hoping the system would provide something better for this. Looks like an enhancement request is in order.
>
> Request filed. Bug ID# 8038793: "Need notification of file system modification after completion of the operation".
Are you doing this for Finder-originated copying only? In this case, you could probably look at the file's OSType/creator. I believe they get set to some special "busy"-values during copying, so if you get a write notification and your file has that type, you *know* it's not intended to be processed yet.
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden