summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/File.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Hakyll/File.hs')
-rw-r--r--src/Text/Hakyll/File.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Text/Hakyll/File.hs b/src/Text/Hakyll/File.hs
index 1becb46..af40500 100644
--- a/src/Text/Hakyll/File.hs
+++ b/src/Text/Hakyll/File.hs
@@ -2,7 +2,6 @@
-- files and directories.
module Text.Hakyll.File
( toDestination
- , toCache
, toURL
, toRoot
, removeSpaces
@@ -36,10 +35,6 @@ removeLeadingSeparator path
toDestination :: FilePath -> FilePath
toDestination path = "_site" </> removeLeadingSeparator path
--- | Convert a relative filepath to a filepath in the cache (@_cache@).
-toCache :: FilePath -> FilePath
-toCache path = "_cache" </> removeLeadingSeparator path
-
-- | Get the url for a given page.
toURL :: FilePath -> FilePath
toURL path = if takeExtension path `elem` [ ".markdown"