I get the directory path from fsevent, like "/ User / Data /" But I really want to /User/Data/change.txt "I read the programming guide, he 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 events (events) occurred.
Is there any way to find out which file is modified? thank you !!!! I stuck on it for so long.
source
share