tweak
This commit is contained in:
parent
fb51d99951
commit
40f357fdcf
2 changed files with 1 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
||||||
-
|
-
|
||||||
- ThreadState: (MVar)
|
- ThreadState: (MVar)
|
||||||
- The Annex state is stored here, which allows resuscitating the
|
- The Annex state is stored here, which allows resuscitating the
|
||||||
- Annex monad in IO actions run by the inotify and committer
|
- Annex monad in IO actions run by the watcher and committer
|
||||||
- threads. Thus, a single state is shared amoung the threads, and
|
- threads. Thus, a single state is shared amoung the threads, and
|
||||||
- only one at a time can access it.
|
- only one at a time can access it.
|
||||||
- DaemonStatusHandle: (MVar)
|
- DaemonStatusHandle: (MVar)
|
||||||
|
|
|
@ -36,7 +36,6 @@ mergeThread st = do
|
||||||
, errHook = hook onErr
|
, errHook = hook onErr
|
||||||
}
|
}
|
||||||
watchDir dir (const False) hooks id
|
watchDir dir (const False) hooks id
|
||||||
where
|
|
||||||
|
|
||||||
type Handler = Git.Repo -> FilePath -> Maybe FileStatus -> IO ()
|
type Handler = Git.Repo -> FilePath -> Maybe FileStatus -> IO ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue