xcode - GCD file monitoring - parent folder(s) changes? -
i'm using gcd method of monitoring files changes. seems work fine , notifications file writes, deletes, renames, etc.
question have - how's right way approach changes parent folders monitored file?
ex: want monitor abc.txt
- currently in path
\path\to\something\abc.txt
- user renames folder
something
something_else
- file lives in
\path\to\something_else\abc.txt
i don't notifications when parent folder(s) renamed or moved because i'm not monitoring them. missing obvious or need actively monitor entire set of folders in hierarchy parent changes impact file handled appropriately?
any words of wisdom appreciated
i don't think gcd can that. you'll have go lower-level, fsevents.
Comments
Post a Comment