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..