Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- askDownload :: Download -> Action Artifact
- data Download = Download {}
- downloadRules :: DownloadLocation -> Rules ()
- data DownloadLocation
Documentation
Downloads downloadUrlPrefix / downloadName
to
downloadFilePrefix / downloadName
.
Everything is stored in `~/.pier/downloads`.
Instances
Eq Download Source # | |
Show Download Source # | |
Generic Download Source # | |
Binary Download Source # | |
NFData Download Source # | |
Defined in Pier.Core.Download | |
Hashable Download Source # | |
Defined in Pier.Core.Download | |
type Rep Download Source # | |
Defined in Pier.Core.Download type Rep Download = D1 (MetaData "Download" "Pier.Core.Download" "pier-core-0.2.0.0-72OjwyYPNJKHEDI8zphBdl" False) (C1 (MetaCons "Download" PrefixI True) (S1 (MetaSel (Just "downloadUrlPrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String) :*: (S1 (MetaSel (Just "downloadName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath) :*: S1 (MetaSel (Just "downloadFilePrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath)))) | |
type RuleResult Download Source # | |
Defined in Pier.Core.Download |
downloadRules :: DownloadLocation -> Rules () Source #