hakyll-4.13.0.1: A static website compiler library

Safe HaskellNone
LanguageHaskell2010

Hakyll.Core.File

Description

Exports simple compilers to just copy files

Synopsis

Documentation

newtype CopyFile Source #

This will copy any file directly by using a system call

Constructors

CopyFile FilePath 
Instances
Eq CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Ord CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Show CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Binary CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

put :: CopyFile -> Put #

get :: Get CopyFile #

putList :: [CopyFile] -> Put #

Writable CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

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

newtype TmpFile Source #

Constructors

TmpFile FilePath 
Instances
Binary TmpFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

put :: TmpFile -> Put #

get :: Get TmpFile #

putList :: [TmpFile] -> Put #

Writable TmpFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

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

newTmpFile Source #

Arguments

:: String

Suffix and extension

-> Compiler TmpFile

Resulting tmp path

Create a tmp file