mismi-s3-0.0.3: AWS Library

Safe HaskellNone
LanguageHaskell98

Mismi.S3.Internal

Synopsis

Documentation

f' :: (BucketName -> ObjectKey -> a) -> Address -> a Source #

(+/) :: Text -> Text Source #

add a "/" at the end of some text if missing and if the text is not empty

sinkChan :: MonadIO m => ConduitT () a m () -> Chan a -> m Int Source #

sinkChanWithDelay :: MonadIO m => Int -> ConduitT () a m () -> Chan a -> m Int Source #

sinkQueue :: Env -> ConduitT () a AWS () -> Queue a -> IO () Source #

withFileSafe :: (MonadCatch m, MonadIO m) => FilePath -> (FilePath -> m a) -> m a Source #

Create a temporary file location that can be used safely, and on a successful operation, do an (atomic) rename NOTE: This function requires that the FilePath provided in the callback exists, otherwise throws an exception