| License | BSD3 |
|---|---|
| Maintainer | tbidne@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
Git.Stale.Types.Env
Description
Provides Env type.
Synopsis
- data BranchType
- data Env = Env {
- grepStr :: Maybe Text
- path :: Maybe FilePath
- limit :: RNonNegative Int
- branchType :: BranchType
- remoteName :: Text
- master :: Text
- today :: Day
- branchTypeToArg :: BranchType -> String
Documentation
data BranchType Source #
Describes the branch type.
Instances
| Eq BranchType Source # | |
Defined in Git.Stale.Types.Env | |
| Show BranchType Source # | |
Defined in Git.Stale.Types.Env Methods showsPrec :: Int -> BranchType -> ShowS # show :: BranchType -> String # showList :: [BranchType] -> ShowS # | |
The Env type to be used with Reader.
Constructors
| Env | |
Fields
| |
Instances
| Show Env Source # | |
| MonadFindBranches m => MonadFindBranches (AppT Env m) Source # | |
Defined in Git.Stale.Core.MonadFindBranches Methods branchNamesByGrep :: Maybe FilePath -> BranchType -> Maybe Text -> AppT Env m [Handler (AppT Env m) Name] Source # getStaleLogs :: Maybe FilePath -> RNonNegative Int -> Day -> [Handler (AppT Env m) Name] -> AppT Env m (Filtered (Handler (AppT Env m) NameAuthDay)) Source # toBranches :: Maybe FilePath -> Text -> Filtered (Handler (AppT Env m) NameAuthDay) -> AppT Env m [Handler (AppT Env m) AnyBranch] Source # collectResults :: [Handler (AppT Env m) AnyBranch] -> AppT Env m (FinalResults (AppT Env m)) Source # display :: Text -> FinalResults (AppT Env m) -> AppT Env m () Source # | |
| type FinalResults (AppT Env m) Source # | |
Defined in Git.Stale.Core.MonadFindBranches | |
| type Handler (AppT Env m) a Source # | |
Defined in Git.Stale.Core.MonadFindBranches | |
branchTypeToArg :: BranchType -> String Source #
Maps a BranchType to a String flag to be used in Core.MonadFindBranches'
branchNamesByGrep command.