@@ -86,7 +86,7 @@ withFileInfoCache :: Int -> ((FilePath -> IO FileInfo) -> IO a) -> IO a
86withFileInfoCache 0 action = action getInfo
86withFileInfoCache 0 action = action getInfo
87withFileInfoCache duration action = E.bracket (initialize duration)
87withFileInfoCache duration action = E.bracket (initialize duration)
89− (\c -> action (getAndRegisterInfo c))
89+ (action . getAndRegisterInfo)
91initialize :: Int -> IO FileInfoCache
91initialize :: Int -> IO FileInfoCache
92initialize duration = mkReaper settings
92initialize duration = mkReaper settings