bdcs-0.6.1: Tools for managing a content store of software packages

Copyright(c) 2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

BDCS.Export.Tar

Description

Functions for exporting objects from the BDCS into a tar file.

Synopsis

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.