summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-29 15:11:20 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2009-12-29 15:11:20 +0100
commit01b177e0861c7465d5b76ec4c7bd67966a9a7ca4 (patch)
treee6a0e08edde553e2dfbf9d40eef75b6f45d8246c /src/Text/Hakyll
parent5f9014cec2b99254bb9d250abbb75926a1f7e4b1 (diff)
downloadhakyll-01b177e0861c7465d5b76ec4c7bd67966a9a7ca4.tar.gz
Fixed typo. Making another attempt to have it built on hackage...
Diffstat (limited to 'src/Text/Hakyll')
-rw-r--r--src/Text/Hakyll/File.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/File.hs b/src/Text/Hakyll/File.hs
index e138312..5f5e58b 100644
--- a/src/Text/Hakyll/File.hs
+++ b/src/Text/Hakyll/File.hs
@@ -51,7 +51,7 @@ getRecursiveContents topdir = do
directory :: (FilePath -> IO ()) -> FilePath -> IO ()
directory action dir = getRecursiveContents dir >>= mapM_ action
--- | Check is a cache file is still valid.
+-- | Check if a cache file is still valid.
isCacheValid :: FilePath -> [FilePath] -> IO Bool
isCacheValid cache depends = doesFileExist cache >>= \exists ->
if not exists then return False