-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Declarative feedback loop manager -- -- Declarative feedback loop manager @package feedback @version 0.1.0.0 module Feedback.Common.OptParse data LoopSettings LoopSettings :: !RunSettings -> !FilterSettings -> !OutputSettings -> LoopSettings [loopSettingRunSettings] :: LoopSettings -> !RunSettings [loopSettingFilterSettings] :: LoopSettings -> !FilterSettings [loopSettingOutputSettings] :: LoopSettings -> !OutputSettings combineToLoopSettings :: Flags -> Environment -> Maybe OutputConfiguration -> LoopConfiguration -> IO LoopSettings data RunSettings RunSettings :: !Command -> !Map String String -> !Maybe (Path Abs Dir) -> RunSettings [runSettingCommand] :: RunSettings -> !Command [runSettingExtraEnv] :: RunSettings -> !Map String String [runSettingWorkingDir] :: RunSettings -> !Maybe (Path Abs Dir) combineToRunSettings :: RunConfiguration -> IO RunSettings data OutputSettings OutputSettings :: !Clear -> OutputSettings [outputSettingClear] :: OutputSettings -> !Clear data FilterSettings FilterSettings :: !Bool -> !Maybe String -> FilterSettings [filterSettingGitignore] :: FilterSettings -> !Bool [filterSettingFind] :: FilterSettings -> !Maybe String combineToFilterSettings :: FilterConfiguration -> FilterSettings combineToOutputSettings :: OutputFlags -> OutputConfiguration -> OutputSettings data Configuration Configuration :: !Map String LoopConfiguration -> !Maybe OutputConfiguration -> Configuration [configLoops] :: Configuration -> !Map String LoopConfiguration [configOutputConfiguration] :: Configuration -> !Maybe OutputConfiguration data LoopConfiguration LoopConfiguration :: !Maybe String -> !RunConfiguration -> !FilterConfiguration -> !OutputConfiguration -> LoopConfiguration [loopConfigDescription] :: LoopConfiguration -> !Maybe String [loopConfigRunConfiguration] :: LoopConfiguration -> !RunConfiguration [loopConfigFilterConfiguration] :: LoopConfiguration -> !FilterConfiguration [loopConfigOutputConfiguration] :: LoopConfiguration -> !OutputConfiguration loopConfigurationObjectCodec :: JSONObjectCodec LoopConfiguration makeLoopConfiguration :: Command -> LoopConfiguration data RunConfiguration RunConfiguration :: !Command -> !Map String String -> !Maybe FilePath -> RunConfiguration [runConfigCommand] :: RunConfiguration -> !Command [runConfigExtraEnv] :: RunConfiguration -> !Map String String [runConfigWorkingDir] :: RunConfiguration -> !Maybe FilePath runConfigurationObjectCodec :: JSONObjectCodec RunConfiguration makeRunConfiguration :: Command -> RunConfiguration data FilterConfiguration FilterConfiguration :: !Maybe Bool -> !Maybe String -> FilterConfiguration [filterConfigGitignore] :: FilterConfiguration -> !Maybe Bool [filterConfigFind] :: FilterConfiguration -> !Maybe String filterConfigurationObjectCodec :: JSONObjectCodec FilterConfiguration emptyFilterConfiguration :: FilterConfiguration data OutputConfiguration OutputConfiguration :: !Maybe Clear -> OutputConfiguration [outputConfigClear] :: OutputConfiguration -> !Maybe Clear outputConfigurationObjectCodec :: JSONObjectCodec OutputConfiguration emptyOutputConfiguration :: OutputConfiguration getConfiguration :: Flags -> Environment -> IO (Maybe Configuration) getConfigurationFromFile :: Path Abs File -> IO (Maybe Configuration) defaultConfigFile :: IO (Path Abs File) data Environment Environment :: !Maybe FilePath -> Environment [envConfigFile] :: Environment -> !Maybe FilePath getEnvironment :: IO Environment environmentParser :: Parser Error Environment getFlags :: IO Flags prefs_ :: ParserPrefs flagsParser :: ParserInfo Flags data Flags Flags :: !String -> !Maybe FilePath -> !OutputFlags -> Flags [flagCommand] :: Flags -> !String [flagConfigFile] :: Flags -> !Maybe FilePath [flagOutputFlags] :: Flags -> !OutputFlags data OutputFlags OutputFlags :: !Maybe Clear -> Bool -> OutputFlags [outputFlagClear] :: OutputFlags -> !Maybe Clear [outputFlagDebug] :: OutputFlags -> Bool parseFlags :: Parser Flags parseCommandFlags :: Parser String defaultConfigFileCompleter :: IO [String] parseOutputFlags :: Parser OutputFlags data Command CommandArgs :: !String -> Command CommandScript :: !String -> Command commandObjectCodec :: JSONObjectCodec Command data Clear ClearScreen :: Clear DoNotClearScreen :: Clear parseClearFlag :: Parser (Maybe Clear) instance GHC.Generics.Generic Feedback.Common.OptParse.FilterSettings instance GHC.Classes.Eq Feedback.Common.OptParse.FilterSettings instance GHC.Show.Show Feedback.Common.OptParse.FilterSettings instance Data.Aeson.Types.ToJSON.ToJSON Feedback.Common.OptParse.FilterConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Feedback.Common.OptParse.FilterConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.FilterConfiguration instance GHC.Classes.Eq Feedback.Common.OptParse.FilterConfiguration instance GHC.Show.Show Feedback.Common.OptParse.FilterConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.Environment instance GHC.Classes.Eq Feedback.Common.OptParse.Environment instance GHC.Show.Show Feedback.Common.OptParse.Environment instance GHC.Generics.Generic Feedback.Common.OptParse.Command instance GHC.Classes.Eq Feedback.Common.OptParse.Command instance GHC.Show.Show Feedback.Common.OptParse.Command instance Data.Aeson.Types.ToJSON.ToJSON Feedback.Common.OptParse.RunConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Feedback.Common.OptParse.RunConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.RunConfiguration instance GHC.Classes.Eq Feedback.Common.OptParse.RunConfiguration instance GHC.Show.Show Feedback.Common.OptParse.RunConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.RunSettings instance GHC.Classes.Eq Feedback.Common.OptParse.RunSettings instance GHC.Show.Show Feedback.Common.OptParse.RunSettings instance GHC.Generics.Generic Feedback.Common.OptParse.Clear instance GHC.Classes.Eq Feedback.Common.OptParse.Clear instance GHC.Show.Show Feedback.Common.OptParse.Clear instance GHC.Generics.Generic Feedback.Common.OptParse.OutputFlags instance GHC.Classes.Eq Feedback.Common.OptParse.OutputFlags instance GHC.Show.Show Feedback.Common.OptParse.OutputFlags instance GHC.Generics.Generic Feedback.Common.OptParse.Flags instance GHC.Classes.Eq Feedback.Common.OptParse.Flags instance GHC.Show.Show Feedback.Common.OptParse.Flags instance Data.Aeson.Types.ToJSON.ToJSON Feedback.Common.OptParse.OutputConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Feedback.Common.OptParse.OutputConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.OutputConfiguration instance GHC.Classes.Eq Feedback.Common.OptParse.OutputConfiguration instance GHC.Show.Show Feedback.Common.OptParse.OutputConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Feedback.Common.OptParse.LoopConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Feedback.Common.OptParse.LoopConfiguration instance GHC.Generics.Generic Feedback.Common.OptParse.LoopConfiguration instance GHC.Classes.Eq Feedback.Common.OptParse.LoopConfiguration instance GHC.Show.Show Feedback.Common.OptParse.LoopConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Feedback.Common.OptParse.Configuration instance Data.Aeson.Types.FromJSON.FromJSON Feedback.Common.OptParse.Configuration instance GHC.Generics.Generic Feedback.Common.OptParse.Configuration instance GHC.Classes.Eq Feedback.Common.OptParse.Configuration instance GHC.Show.Show Feedback.Common.OptParse.Configuration instance GHC.Generics.Generic Feedback.Common.OptParse.OutputSettings instance GHC.Classes.Eq Feedback.Common.OptParse.OutputSettings instance GHC.Show.Show Feedback.Common.OptParse.OutputSettings instance GHC.Generics.Generic Feedback.Common.OptParse.LoopSettings instance GHC.Classes.Eq Feedback.Common.OptParse.LoopSettings instance GHC.Show.Show Feedback.Common.OptParse.LoopSettings instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.Configuration instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.LoopConfiguration instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.OutputConfiguration instance GHC.Base.Semigroup Feedback.Common.OptParse.OutputConfiguration instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.Clear instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.RunConfiguration instance Autodocodec.Class.HasCodec Feedback.Common.OptParse.FilterConfiguration module Feedback.Test.OptParse getSettings :: IO TestSettings data TestSettings TestSettings :: !Map String LoopSettings -> TestSettings [testSettingLoops] :: TestSettings -> !Map String LoopSettings combineToTestSettings :: Flags -> Environment -> Maybe Configuration -> IO TestSettings instance GHC.Classes.Eq Feedback.Test.OptParse.TestSettings instance GHC.Show.Show Feedback.Test.OptParse.TestSettings module Feedback.Loop.Filter getMinTTY :: IO Bool data Filter Filter :: (Path Abs Dir -> Bool) -> (Path Abs File -> Bool) -> Filter [filterDirFilter] :: Filter -> Path Abs Dir -> Bool [filterFileFilter] :: Filter -> Path Abs File -> Bool fileSetFilter :: Set (Path Abs File) -> Filter mkCombinedFilter :: Path Abs Dir -> FilterSettings -> IO Filter mkStdinFilter :: Path Abs Dir -> IO Filter getStdinFiles :: Path Abs Dir -> IO (Maybe (Set (Path Abs File))) mkGitFilter :: Path Abs Dir -> FilterSettings -> IO Filter gitLsFiles :: Path Abs Dir -> IO (Maybe (Set (Path Abs File))) mkFindFilter :: Path Abs Dir -> FilterSettings -> IO Filter filesFromFindArgs :: Path Abs Dir -> String -> IO (Set (Path Abs File)) bytesFileSet :: Path Abs Dir -> ByteString -> IO (Set (Path Abs File)) handleFileSet :: Path Abs Dir -> Handle -> IO (Set (Path Abs File)) fileSetBuilder :: Path Abs Dir -> ConduitT ByteString Void IO (Set (Path Abs File)) standardFilter :: Path Abs Dir -> Filter hidden :: Path Rel File -> Bool isHiddenIn :: Path b Dir -> Path b t -> Bool instance GHC.Base.Semigroup Feedback.Loop.Filter.Filter instance GHC.Base.Monoid Feedback.Loop.Filter.Filter module Feedback.Common.Process data ProcessHandle ProcessHandle :: !P -> ProcessHandle [processHandleProcess] :: ProcessHandle -> !P type P = Process () () () startProcessAndWait :: RunSettings -> IO ExitCode startProcessHandle :: RunSettings -> IO ProcessHandle waitProcessHandle :: ProcessHandle -> IO ExitCode makeProcessConfigFor :: RunSettings -> IO (ProcessConfig () () ()) stopProcessHandle :: ProcessHandle -> IO () module Feedback.Common.Output putTimedChunks :: TerminalCapabilities -> ZonedTime -> [Chunk] -> IO () putDone :: TerminalCapabilities -> ZonedTime -> IO () indicatorChunk :: String -> Chunk loopNameChunk :: String -> Chunk commandChunk :: String -> Chunk startingLines :: RunSettings -> [[Chunk]] exitCodeChunks :: ExitCode -> [Chunk] durationChunks :: Word64 -> [Chunk] module Feedback.Test runFeedbackTest :: IO () getTermCaps :: IO TerminalCapabilities module Feedback.Loop.OptParse combineToSettings :: Flags -> Environment -> Maybe Configuration -> IO LoopSettings prettyConfiguration :: Maybe Configuration -> [[Chunk]] loopConfigLine :: String -> LoopConfiguration -> [Chunk] module Feedback.Loop runFeedbackLoop :: IO () startWatching :: Path Abs Dir -> Filter -> TerminalCapabilities -> ZonedTime -> LoopSettings -> WatchManager -> Chan Event -> IO StopListening getTermCaps :: IO TerminalCapabilities data RestartEvent FSEvent :: !Event -> RestartEvent StdinEvent :: !Char -> RestartEvent worker :: ThreadId -> LoopSettings -> TerminalCapabilities -> ZonedTime -> Chan Event -> IO () installKillHandler :: ThreadId -> ProcessHandle -> IO () waitForEvent :: Chan Event -> IO RestartEvent data Output OutputFiltering :: Output OutputWatching :: Output OutputEvent :: !RestartEvent -> Output OutputKilling :: Output OutputKilled :: Output OutputProcessStarted :: !RunSettings -> Output OutputProcessExited :: !ExitCode -> !Word64 -> Output putOutput :: OutputSettings -> TerminalCapabilities -> ZonedTime -> Output -> IO () instance GHC.Classes.Eq Feedback.Loop.RestartEvent instance GHC.Show.Show Feedback.Loop.RestartEvent instance GHC.Show.Show Feedback.Loop.Output