summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-04-09 23:28:50 +0200
committerTom Smeding <tom@tomsmeding.com>2026-04-09 23:28:50 +0200
commit6465e83bc52df00ab13b17fb40914406221b136e (patch)
treea6bd3a8feff05f6c7169ed74d7c0b56078485246
parentfc8511695f9a9589e11ab18727ad6233e785ad1a (diff)
Remove some debug prints
-rw-r--r--src/Index.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Index.hs b/src/Index.hs
index c0f98dd..bdc3751 100644
--- a/src/Index.hs
+++ b/src/Index.hs
@@ -123,14 +123,14 @@ initIndex basedir toimport = do
handle deb _ FN.Added{} = debounceClick deb
handle deb chan ev@FN.Modified{} = do
- atomicPrintS $ "path = " ++ show (FN.eventPath ev) ++ " fn = " ++ takeFileName (FN.eventPath ev)
+ -- atomicPrintS $ "path = " ++ show (FN.eventPath ev) ++ " fn = " ++ takeFileName (FN.eventPath ev)
case parseFileName (takeFileName (FN.eventPath ev)) of
Just ymd -> do
cacheInvalidate cache (chan, ymd)
debounceClick deb
Nothing -> return ()
handle _ chan ev@FN.Removed{} = do
- atomicPrintS $ "path = " ++ show (FN.eventPath ev) ++ " fn = " ++ takeFileName (FN.eventPath ev)
+ -- atomicPrintS $ "path = " ++ show (FN.eventPath ev) ++ " fn = " ++ takeFileName (FN.eventPath ev)
case parseFileName (takeFileName (FN.eventPath ev)) of
Just ymd -> do
cacheInvalidate cache (chan, ymd)