hakyll-3.5.1.0: A static website compiler library

Safe HaskellSafe-Inferred

Hakyll.Core.Util.File

Description

A module containing various file utility functions

Synopsis

Documentation

makeDirectories :: FilePath -> IO ()Source

Given a path to a file, try to make the path writable by making all directories on the path.

getRecursiveContentsSource

Arguments

:: Bool

Include directories?

-> FilePath

Directory to search

-> IO [FilePath]

List of files found

Get all contents of a directory. Note that files starting with a dot (.) will be ignored.

isFileInternalSource

Arguments

:: HakyllConfiguration

Configuration

-> FilePath

File to check

-> Bool

If the given file is internal

Check if a file is meant for Hakyll internal use, i.e. if it is located in the destination or store directory