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

Dojang.Types.FileRouteMap.Evaluate

Synopsis

Documentation

evaluateRoutes Source #

Arguments

:: FileRouteMap

The FileRouteMap to evaluate.

-> Environment

The Environment to evaluate against.

-> (Map OsPath FilePathExpression, [EvaluationWarning])

The evaluated routes and the warnings that occurred during evaluation. Unmatched routes or null routes will not be included in the result.

Evaluates the FileRouteMap against an Environment.

evaluateRoutesWithFileTypes Source #

Arguments

:: FileRouteMap

The FileRouteMap to evaluate.

-> Environment

The Environment to evaluate against.

-> (Map OsPath (FilePathExpression, FileType), [EvaluationWarning])

The evaluated routes and the warnings that occurred during evaluation. Unmatched routes or null routes will not be included in the result.

Similar to evaluateRoutes, but also includes the FileType of each evaluated route.