Hakyll.Core.File
Description
Exports simple compilers to just copy files
newtype CopyFile Source #
This will copy any file directly by using a system call
Constructors
Defined in Hakyll.Core.File
Methods
(==) :: CopyFile -> CopyFile -> Bool #
(/=) :: CopyFile -> CopyFile -> Bool #
compare :: CopyFile -> CopyFile -> Ordering #
(<) :: CopyFile -> CopyFile -> Bool #
(<=) :: CopyFile -> CopyFile -> Bool #
(>) :: CopyFile -> CopyFile -> Bool #
(>=) :: CopyFile -> CopyFile -> Bool #
max :: CopyFile -> CopyFile -> CopyFile #
min :: CopyFile -> CopyFile -> CopyFile #
showsPrec :: Int -> CopyFile -> ShowS #
show :: CopyFile -> String #
showList :: [CopyFile] -> ShowS #
put :: CopyFile -> Put #
get :: Get CopyFile #
putList :: [CopyFile] -> Put #
write :: FilePath -> Item CopyFile -> IO () Source #
copyFileCompiler :: Compiler (Item CopyFile) Source #
newtype TmpFile Source #
put :: TmpFile -> Put #
get :: Get TmpFile #
putList :: [TmpFile] -> Put #
write :: FilePath -> Item TmpFile -> IO () Source #
newTmpFile Source #
Arguments
Suffix and extension
Resulting tmp path
Create a tmp file