Function mtree_v2_from_input_dir

Source
pub fn mtree_v2_from_input_dir(path: impl AsRef<Path>) -> Result<PathBuf, Error>
Expand description

Creates a new ALPM-MTREEv2 file from an input directory and returns its path.

Calls create_mtree_file_from_input_dir with bsdtar options specific to ALPM-MTREEv2.

ยงErrors

Returns an error if calling create_mtree_file_from_input_dir fails.