hakyll-4.12.3.0: A static website compiler library

Safe HaskellNone
LanguageHaskell2010

Hakyll.Core.File

Description

Exports simple compilers to just copy files

Synopsis

Documentation

newtype CopyFile #

This will copy any file directly by using a system call

Constructors

CopyFile FilePath 
Instances
Eq CopyFile # 
Instance details

Defined in Hakyll.Core.File

Ord CopyFile # 
Instance details

Defined in Hakyll.Core.File

Show CopyFile # 
Instance details

Defined in Hakyll.Core.File

Binary CopyFile # 
Instance details

Defined in Hakyll.Core.File

Methods

put :: CopyFile -> Put #

get :: Get CopyFile #

putList :: [CopyFile] -> Put #

Writable CopyFile # 
Instance details

Defined in Hakyll.Core.File

Methods

write :: FilePath -> Item CopyFile -> IO () #

newtype TmpFile #

Constructors

TmpFile FilePath 
Instances
Binary TmpFile # 
Instance details

Defined in Hakyll.Core.File

Methods

put :: TmpFile -> Put #

get :: Get TmpFile #

putList :: [TmpFile] -> Put #

Writable TmpFile # 
Instance details

Defined in Hakyll.Core.File

Methods

write :: FilePath -> Item TmpFile -> IO () #

newTmpFile #

Arguments

:: String

Suffix and extension

-> Compiler TmpFile

Resulting tmp path

Create a tmp file