bdcs-0.1.0: 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.Ostree

Description

Functions for exporting objects from the BDCS into an ostree repo.

Synopsis

Documentation

ostreeSink :: (MonadError String m, MonadIO m, MonadResource m) => FilePath -> Consumer (Files, Object) m () Source #

A Consumer that writes objects into a provided ostree repo. A very large amount of work required to make the destination a valid ostree repo is also done by this function - setting up symlinks and directories, pruning unneeded directories, installing an initrd, building an RPM database, and so forth.