fn append_relative_files<'c>(
builder: TarballBuilder<'c>,
mtree: &Mtree,
input_paths: &InputPaths<'_, '_>,
) -> Result<TarballBuilder<'c>, Error>Expand description
Appends relative files from an input directory to a TarballBuilder.
Before appending any files, all provided input_paths are validated against mtree (ALPM-MTREE
data).
ยงErrors
Returns an error if
- validating any path in
input_pathsusingmtreefails, - retrieving files relative to
input_dirfails, - or adding one of the relative paths to the
builderfails.