1{-# OPTIONS_GHC -Wall #-}
9import qualified System.Directory as Dir
10import qualified System.Environment as Env
11import System.FilePath ((</>))
13import qualified Elm.Version as V
20getPackageRoot :: IO FilePath
25getReplRoot :: IO FilePath
30getRoot :: FilePath -> IO FilePath
33 let root = home </> version </> projectName
34 Dir.createDirectoryIfMissing True root
43getElmHome :: IO FilePath
45 do maybeHome <- Env.lookupEnv "ELM_HOME"
46 maybe (Dir.getAppUserDataDirectory "elm") return maybeHome
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