5import Obelisk.Asset.Gather
7import Language.Haskell.TH.Syntax
8import System.FilePath.Posix
10-- | Produces a string literal with the hashed path of the file
11assetPath :: FilePath -> FilePath -> Q Exp
12assetPath root relativePath = do
13 qAddDependentFile $ root </> relativePath
14 LitE . StringL <$> runIO (toHashedPath root relativePath)
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