Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Dep = DepM ()
- data DepM a
- run :: Dep -> IO WatchManager
- defaultMain :: Dep -> IO ()
- (|+) :: Dep -> (FilePath -> IO a) -> Dep
- (|%) :: Dep -> (FilePath -> IO a) -> Dep
- (|-) :: Dep -> (FilePath -> IO a) -> Dep
- (|>) :: Dep -> (FilePath -> IO a) -> Dep
- (|#) :: Dep -> Text -> Dep
- add' :: (FilePath -> IO a) -> Dep -> Dep
- modify' :: (FilePath -> IO a) -> Dep -> Dep
- delete' :: (FilePath -> IO a) -> Dep -> Dep
- addModify :: (FilePath -> IO a) -> Dep -> Dep
- data Rule
- type RuleAction = FilePath -> IO ()
- type Name = Text
- type PatternText = Text
Documentation
run :: Dep -> IO WatchManager Source
defaultMain :: Dep -> IO () Source
(|>) :: Dep -> (FilePath -> IO a) -> Dep infixl 8 Source
Set both the add
and modify
field to the same value
The pattern entity holds a name and pattern that is compiled when the rules are evaluated
type RuleAction = FilePath -> IO () Source
TODO maybe change this to have the timestamp
type PatternText = Text Source