hakyll-4.16.4.0: A static website compiler library
Safe HaskellSafe-Inferred
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

Instances details
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 #

Eq CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Ord CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Writable CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

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

newtype TmpFile Source #

Constructors

TmpFile FilePath 

Instances

Instances details
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