git-annex/Utility
Joey Hess 2bfcc0b09c 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.
2012-06-18 21:29:30 -04:00
..
Base64.hs rename 2011-07-05 20:24:10 -04:00
CoProcess.hs refactor 2012-02-20 15:22:21 -04:00
CopyFile.hs Pass -a to cp even when it supports --reflink=auto, to preserve permissions. 2012-05-15 14:18:51 -04:00
Daemon.hs fix pid file writing 2012-06-15 20:42:53 -04:00
DataUnits.hs hslint 2011-12-09 01:57:13 -04:00
Directory.hs kqueue: add directory content tracking, and change determination 2012-06-18 21:29:30 -04:00
DiskFree.hs tweak 2012-04-18 13:23:46 -04:00
Dot.hs finished hlint pass 2011-07-15 12:47:14 -04:00
Exception.hs simplify 2012-03-16 02:12:56 -04:00
FileMode.hs in which I discover void 2012-04-21 23:06:19 -04:00
FileSystemEncoding.hs perhaps more clear type 2012-03-10 11:38:38 -04:00
Format.hs hlint 2012-02-16 00:44:51 -04:00
Gpg.hs Added shared cipher mode to encryptable special remotes. 2012-04-29 14:02:43 -04:00
Inotify.hs plumb file status through to event handlers 2012-06-13 01:20:37 -04:00
JSONStream.hs go go gadget hlint 2011-09-20 23:24:48 -04:00
Kqueue.hs kqueue: add directory content tracking, and change determination 2012-06-18 21:29:30 -04:00
libdiskfree.c Enable diskfree on kfreebsd, using statvfs. 2012-06-17 18:10:57 -04:00
libdiskfree.h Renamed diskfree.c to avoid OSX case insensativity bug. 2012-04-13 11:26:39 -04:00
libkqueue.c retry interrupted kevent calls 2012-06-18 18:03:50 -04:00
libkqueue.h flesh out kqueue library 2012-06-18 16:18:59 -04:00
LogFile.hs daemonize git annex watch 2012-06-11 00:39:09 -04:00
Lsof.hs add lsof build deps 2012-06-15 23:29:39 -04:00
Matcher.hs fun with symbols 2012-03-17 00:38:40 -04:00
Misc.hs factor out Utility.FileSystemEncoding 2012-03-09 19:08:10 -04:00
Monad.hs noop 2012-04-21 23:32:33 -04:00
PartialPrelude.hs rename readMaybe to readish 2012-01-23 17:00:10 -04:00
Path.hs move 2012-03-11 18:12:36 -04:00
Percentage.hs percentage library 2012-04-29 17:48:07 -04:00
RsyncFile.hs update 2012-05-02 11:43:30 -04:00
SafeCommand.hs add safeSystem 2011-11-09 17:28:35 -04:00
State.hs switch to the strict state monad 2012-01-29 22:55:06 -04:00
TempFile.hs IO exception rework 2012-02-03 16:47:24 -04:00
ThreadLock.hs reorg 2012-06-17 14:02:40 -04:00
ThreadScheduler.hs reorg 2012-06-17 14:02:40 -04:00
Touch.hsc unbreak code inside ifdef 2012-04-22 11:22:20 -04:00
Url.hs bugfixes 2012-04-22 01:20:17 -04:00