summaryrefslogtreecommitdiff
path: root/Utility/libkqueue.c
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-18 21:29:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-18 21:29:30 -0400
commit2bfcc0b09c5dd37c5e0ab65cb089232bfcc31934 (patch)
treec76335917d4753dbe07854baa6ffde905e10c7c8 /Utility/libkqueue.c
parentae7d07ddcb5768cf477410e019d42601d8c2b744 (diff)
kqueue: add directory content tracking, and change determination
This *may* now return Add or Delete Changes as appropriate. All I know for sure is that it compiles. I had hoped to avoid maintaining my own state about the content of the directory tree, and rely on git to check what was changed. But I can't; I need to know about new and deleted subdirectories to add them to the watch list, and git doesn't deal with (empty) directories. So, wrote all the code to scan directories, remember their past contents, compare with current contents, generate appropriate Change events, and update bookkeeping info appropriately.
Diffstat (limited to 'Utility/libkqueue.c')
0 files changed, 0 insertions, 0 deletions