Restyler.Config.Include
data Include Source #
Constructors
**/*.hs
!**/*.temp
Defined in Restyler.Config.Include
Methods
(==) :: Include -> Include -> Bool #
(/=) :: Include -> Include -> Bool #
showsPrec :: Int -> Include -> ShowS #
show :: Include -> String #
showList :: [Include] -> ShowS #
fromString :: String -> Include #
toJSON :: Include -> Value #
toEncoding :: Include -> Encoding #
toJSONList :: [Include] -> Value #
toEncodingList :: [Include] -> Encoding #
parseJSON :: Value -> Parser Include #
parseJSONList :: Value -> Parser [Include] #
explicit :: FilePath -> Include Source #
Build an Include matching a path exactly
Include
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.