could I know which file is altered using fsevent?

Posted by Frost Li on Stack Overflow See other posts from Stack Overflow or by Frost Li
Published on 2010-06-16T00:05:01Z Indexed on 2010/06/16 0:12 UTC
Read the original article Hit count: 506

Filed under:
|
|

I get the directory path from fsevent, such as "/User/Data/" But what I really want is "/User/Data/change.txt" I have read the programming guide, it said

typedef void ( *FSEventStreamCallback )(
    ConstFSEventStreamRef streamRef,
    void *clientCallBackInfo,
    size_t numEvents,
    void *eventPaths,
    const FSEventStreamEventFlags eventFlags[],
    const FSEventStreamEventId eventIds[]);  

eventPaths An array of paths to the directories in which event(s) occurred.

is there any method to find out which file is altered? thanks!!!! I have stuck to it for so long..

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about beginner