Copyright | (c) 2017 Red Hat Inc. |
---|---|
License | LGPL |
Maintainer | https://github.com/weldr |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
BDCS.Export.Tar
Description
Functions for exporting objects from the BDCS into a tar file.
- tarSink :: MonadLoggerIO m => FilePath -> Consumer Entry m ()
Documentation
tarSink :: MonadLoggerIO m => FilePath -> Consumer Entry m () Source #
A Consumer
that writes objects (in the form of Entry
records) into a tar archive
with the provided name. To convert objects into an Entry, see objectToTarEntry
.