Proteome.Grep.Process
defaultGrepCmdline :: Text Source #
defaultRgCmdline :: Text Source #
defaultCmdline :: Member (Embed IO) r => Sem r Text Source #
patternPlaceholder :: Text Source #
pathPlaceholder :: Text Source #
replaceOrAppend :: Text -> Text -> [Text] -> [Text] Source #
parseAbsExe :: Member (Stop GrepError) r => Text -> Sem r (Path Abs File) Source #
grepCmdline :: Members [Stop GrepError, Embed IO] r => Text -> Text -> Path Abs Dir -> [Text] -> Sem r (Path Abs File, [Text]) Source #
processOutput :: IsStream t => String -> [Text] -> t IO Word8 Source #
processLines :: IsStream t => Path Abs File -> [Text] -> t IO Text Source #
grepMenuItems :: Functor (t IO) => Members [Log, Embed IO, Final IO] r => IsStream t => Path Abs Dir -> Path Abs File -> [Text] -> Sem r (t IO (MenuItem GrepOutputLine)) Source #