git-annex/Remote/S3stub.hs

14 lines
260 B
Haskell
Raw Normal View History

-- stub for when hS3 is not available
module Remote.S3 (remote) where
2011-06-10 16:06:40 +00:00
import Types.Remote
import Types
2011-12-31 08:11:39 +00:00
remote :: RemoteType
remote = RemoteType {
typename = "S3",
enumerate = return [],
generate = error "S3 not enabled",
setup = error "S3 not enabled"
}