-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Please see the README on GitHub at -- https://github.com/andys8/git-brunch#readme @package git-brunch @version 1.0.2.0 module Git listBranches :: IO [Branch] checkout :: Branch -> IO (Either String String) data Branch BranchLocal :: String -> Branch BranchCurrent :: String -> Branch BranchRemote :: String -> String -> Branch instance GHC.Show.Show Git.Branch module Theme theme :: Theme module GitBrunch data Name Local :: Name Remote :: Name data State State :: Name -> List Name Branch -> List Name Branch -> State [_focus] :: State -> Name [_localBranches] :: State -> List Name Branch [_remoteBranches] :: State -> List Name Branch main :: IO () app :: App State e Name appDraw :: State -> [Widget Name] drawBranchList :: Bool -> List Name Branch -> Widget Name drawListElement :: Bool -> Branch -> Widget Name drawInstruction :: String -> String -> Widget n appHandleEvent :: State -> BrickEvent Name e -> EventM Name (Next State) focusBranches :: Name -> State -> State navigate :: State -> Event -> EventM Name (Next State) initialState :: [Branch] -> State selectedBranch :: State -> Maybe Branch focussedBranchesL :: Lens' State (List Name Branch) localBranchesL :: Lens' State (List Name Branch) remoteBranchesL :: Lens' State (List Name Branch) focusL :: Lens' State Name instance GHC.Show.Show GitBrunch.Name instance GHC.Classes.Eq GitBrunch.Name instance GHC.Classes.Ord GitBrunch.Name