Copyright | (c) 2017 Red Hat Inc. |
---|---|
License | LGPL |
Maintainer | https://github.com/weldr |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Functions for exporting objects from the BDCS into an ostree repo.
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.