diff options
Diffstat (limited to 'src/Erebos/Storage/Disk.hs')
-rw-r--r-- | src/Erebos/Storage/Disk.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Erebos/Storage/Disk.hs b/src/Erebos/Storage/Disk.hs index 01821f7..370c584 100644 --- a/src/Erebos/Storage/Disk.hs +++ b/src/Erebos/Storage/Disk.hs @@ -94,7 +94,7 @@ instance StorageBackend DiskStorage where True -> return ilist False -> do void $ watchDir manager (headTypePath dirPath tid) (const True) $ \case - Added { eventPath = fpath } | Just ihid <- HeadID <$> U.fromString (takeFileName fpath) -> do + ev@Added {} | Just ihid <- HeadID <$> U.fromString (takeFileName (eventPath ev)) -> do backendLoadHead st tid ihid >>= \case Just dgst -> do (_, _, iwl) <- readMVar dirWatchers |