1module Stack.Types where
8data StackYaml = StackYaml
9 { _syDirName :: FilePath
10 , _syFileName :: FilePath }
11 deriving (Ord, Eq, Show)
15syFilePath :: Getter StackYaml FilePath
16syFilePath = to stackYamlPath
18 stackYamlPath sy = sy ^. syDirName </> sy ^. syFileName
20newtype CabalFlag = CabalFlag { fromCabalFlag :: Text }
21 deriving (Ord, Eq, Show)
25unCabalFlag :: CabalFlag -> String
26unCabalFlag = T.unpack . fromCabalFlag
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list