summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-22 17:01:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-22 17:01:08 -0400
commite699ce18417729abbb9606f6a011628ad6616a64 (patch)
tree7ed4eb17763ab6ca3bf3c021625289cf77a150c9 /Utility
parente9630e90decac4fe0c999af88131bd4b7c9d979f (diff)
added a merger thread
Wow! I can create a file in repo a, and it instantly* shows up in repo b! * under 1 second anyway
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Types/DirWatcher.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utility/Types/DirWatcher.hs b/Utility/Types/DirWatcher.hs
index c828a0593..ba7eae6a1 100644
--- a/Utility/Types/DirWatcher.hs
+++ b/Utility/Types/DirWatcher.hs
@@ -20,3 +20,6 @@ data WatchHooks = WatchHooks
, delDirHook :: Hook FilePath
, errHook :: Hook String -- error message
}
+
+mkWatchHooks :: WatchHooks
+mkWatchHooks = WatchHooks Nothing Nothing Nothing Nothing Nothing