3module FdCacheSpec where
8import Network.Wai.Handler.Warp.FdCache
9import System.Posix.IO (fdRead)
10import System.Posix.Types (Fd(..))
16spec = describe "withFdCache" $ do
18 ref <- newIORef (Fd (-1))
19 withFdCache 30000000 $ \getFd -> do
20 (Just fd,_) <- getFd 0 "warp.cabal"
23 fdRead nfd 1 `shouldThrow` anyIOException
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