Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provide ability to upload tarballs to Hackage.
- upload :: HackageCreds -> FilePath -> IO ()
- uploadBytes :: HackageCreds -> String -> ByteString -> IO ()
- uploadRevision :: HackageCreds -> PackageIdentifier -> ByteString -> IO ()
- data HackageCreds
- loadCreds :: Config -> IO HackageCreds
Upload
upload :: HackageCreds -> FilePath -> IO () Source #
Upload a single tarball with the given Uploader
.
Since 0.1.0.0
:: HackageCreds | |
-> String | tar file name |
-> ByteString | tar file contents |
-> IO () |
Upload a single tarball with the given Uploader
. Instead of
sending a file like upload
, this sends a lazy bytestring.
Since 0.1.2.1
uploadRevision :: HackageCreds -> PackageIdentifier -> ByteString -> IO () Source #
Credentials
data HackageCreds Source #
Username and password to log into Hackage.
Since 0.1.0.0