Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hledger.Flow.Common
Documentation
showCmdArgs :: [Text] -> Text Source #
consoleChannelLoop :: TChan LogMessage -> IO () Source #
terminateChannelLoop :: TChan LogMessage -> IO () Source #
channelOut :: TChan LogMessage -> Text -> IO () Source #
channelErr :: TChan LogMessage -> Text -> IO () Source #
logVerbose :: HasVerbosity o => o -> TChan LogMessage -> Text -> IO () Source #
logVerboseTime :: (HasVerbosity o, HasExitCode a) => o -> TChan LogMessage -> Text -> IO a -> IO (a, NominalDiffTime) Source #
verboseTestFile :: (HasVerbosity o, HasBaseDir o) => o -> TChan LogMessage -> FilePath -> IO Bool Source #
relativeToBase :: HasBaseDir o => o -> FilePath -> FilePath Source #
shellToList :: Shell a -> Shell [a] Source #
groupIncludeFiles :: [FilePath] -> (InputFileBundle, InputFileBundle) Source #
allYearIncludeFiles :: InputFileBundle -> (InputFileBundle, InputFileBundle) Source #
yearsIncludeMap :: [FilePath] -> InputFileBundle Source #
extraIncludesForFile :: (HasVerbosity o, HasBaseDir o) => o -> TChan LogMessage -> FilePath -> [Text] -> [FilePath] -> Shell InputFileBundle Source #
toIncludeFiles :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> InputFileBundle -> Shell (Map FilePath Text) Source #
groupAndWriteIncludeFiles :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> [FilePath] -> Shell [FilePath] Source #
writeIncludesUpTo :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> FilePath -> [FilePath] -> Shell [FilePath] Source #