restyler-0.2.0.0
Safe HaskellNone
LanguageHaskell2010

Restyler.Config.Include

Synopsis

Documentation

data Include Source #

Constructors

Include Pattern
**/*.hs
Negated Pattern
!**/*.temp

Instances

Instances details
Eq Include Source # 
Instance details

Defined in Restyler.Config.Include

Methods

(==) :: Include -> Include -> Bool #

(/=) :: Include -> Include -> Bool #

Show Include Source # 
Instance details

Defined in Restyler.Config.Include

IsString Include Source # 
Instance details

Defined in Restyler.Config.Include

Methods

fromString :: String -> Include #

ToJSON Include Source # 
Instance details

Defined in Restyler.Config.Include

FromJSON Include Source # 
Instance details

Defined in Restyler.Config.Include

explicit :: FilePath -> Include Source #

Build an Include matching a path exactly

includePath :: [Include] -> FilePath -> Bool Source #

Determine if a set of Includes match a file

Don't try to over-think this. It works how you would expect, and you can confirm in its test cases.