impl_export

Function impl_export 

Source
fn impl_export<W: Write>(
    repo: &Repo,
    commit_checksum: &str,
    out: &mut Builder<W>,
    options: ExportOptions,
) -> Result<()>
Expand description

Recursively walk an OSTree commit and generate data into a [tar::Builder] which contains all of the metadata objects, as well as a hardlinked stream that looks like a checkout. Extended attributes are stored specially out of band of tar so that they can be reliably retrieved.