| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
Handle kevent interruptions in the haskell code, so it can yield to other threads
|
|
|
|
| |
new event dispatch seems a bit broken though
|
|
|
|
|
| |
Kqueue code for dispatching events is not tested and probably doesn't
build.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Have not tried to build this yet. But barring minor mistakes, I think it's
good.
|
|
|
|
| |
Will need to update the DirMap to add or remove subdirs.
|
| |
|
|
|