hackage-info-0.1.0.0: Get some

Safe HaskellSafe
LanguageHaskell2010

Process

Synopsis

Documentation

success :: ExitCode -> a -> Maybe a Source

If success, Just, else Nothing

readProc :: FilePath -> [String] -> String -> IO (Maybe String) Source

Given a filepath, list of arguements, stdin string, get stdout or nothing on failure

curl :: String -> String -> String -> IO (Maybe String) Source

Curl: user, password, repo name

splitUserPass :: String -> String -> [CurlOption] Source

Collect user, pass as CurlOptions