dojang-0.2.1: A cross-platform dotfiles manager
Safe HaskellNone
LanguageHaskell2010

Dojang.Types.Manifest

Synopsis

Documentation

type IgnoreMap = Map OsPath [FilePattern] Source #

A map of directory routes to file patterns that should be ignored.

data Manifest Source #

A manifest of the directory routes and the definitions of monikers that are used to resolve them.

Constructors

Manifest 

Fields

Instances

Instances details
Show Manifest Source # 
Instance details

Defined in Dojang.Types.Manifest

Eq Manifest Source # 
Instance details

Defined in Dojang.Types.Manifest

manifest Source #

Arguments

:: MonikerMap

The monikers that are used to resolve the directory routes.

-> Map OsPath [(MonikerName, Maybe FilePathExpression)]

The file routes that are resolved by the monikers. The keys are the file names, and the values are the pairs of MonikerNames and FilePathExpressions that make up each FileRoute. If the same MonikerName is used more than once, then the latest one will be used. If the same file name appears in the directory routes (the next parameter), then the directory route will take precedence.

-> Map OsPath [(MonikerName, Maybe FilePathExpression)]

The directory routes that are resolved by the monikers. The keys are the names of the directories, and the values are the pairs of MonikerNames and FilePathExpressions that make up each FileRoute. If the same MonikerName is used more than once, then the latest one will be used. If the same file name appears in the file routes (the previous parameter), then the directory route will take precedence.

-> IgnoreMap

The file patterns that should be ignored for each directory route.

-> HookMap

The hooks to run before and after applying.

-> Manifest

The made Manifest.

Makes a Manifest from definitions of monikers and directory routes.