ENTRY_MODIFY
Zhong Yu
zhong.j.yu at gmail.com
Wed Jul 11 11:17:33 PDT 2012
On Wed, Jul 11, 2012 at 1:09 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 11/07/2012 19:05, Zhong Yu wrote:
>>
>> One odd thing on windows: if a file is created/deleted under a dir, a
>> ENTRY_MODIFY event on the dir is raised.
>>
>> Writing a cross platform file monitoring app is a challenge.
>>
> Presumably you also get the CREATE and DELETE events too.
Yes.
And one odd thing on linux: edit a file with gedit, then save, a
ENTRY_CREATE event on the file is raised.
Since the API is very platform dependent, I wasn't even sure if these
are bugs, or tolerable behaviors.
More information about the nio-dev
mailing list