Re: Knowing file system changes?
Re: Knowing file system changes?
- Subject: Re: Knowing file system changes?
- From: David Remahl <email@hidden>
- Date: Sat, 13 Apr 2002 16:02:27 +0200
>
>> OS X does not provide a generic mechanism for you to receive
>
>> notifications about the creation, copying, moving, deletion, etc. of
>
>> files.
>
>
>
> It does.
>
>
>
>>
>
What I meant by "generic" is that there is no way for you to register
>
for notifications for movement of "any" file on the OS. You have to
>
know the location you want to watch in advance. Both polling yourself
>
and or using the FNSubscribe api require this.
>
>
There is no way to say "Notify me when any file moves".
>
There is no way to say "Notify me on all filesystem deletes".
>
>
You can say (using polling or FNSubscribe) "Notify me when a file moves
>
in /Library".
>
>
There is no way to say "Notify me when a file moves anywhere under
>
/Library".
>
>
Eric
_That_ is true. We clearly interpreted the question differently. However,
Apple's stance seems to be that filesystem notifications are application
responsibility, and that was what I tried to communicate.
/ David
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.