imm-0.6.0.1: Retrieve RSS/Atom feeds and write one mail per new item in a maildir.
type FeedID = URISource
class DatabaseReader m whereSource
getLastCheck :: FeedID -> m UTCTimeSource
Read the last check time in the state file.
class DatabaseWriter m whereSource
storeLastCheck :: FeedID -> UTCTime -> m ()Source
Write the last update time in the data file.
forget :: FeedID -> m ()Source
Remove state file as if no update was ever done.
type DatabaseState m = (DatabaseReader m, DatabaseWriter m)Source
data FileDatabase Source
A state file stores the last check time for a single feed, identified with its URI.
directory :: Lens' FileDatabase FilePathSource
getDataFile :: Lens' FileDatabase (FeedID -> FilePath)Source
Produced by Haddock version 2.13.2