1#![doc = include_str!("../README.md")]
23/// Commandline argument handling. This is most likely not interesting for you.
4#[cfg(feature = "cli")]
5pub mod cli;
6/// Commandline functions, that're called by the `alpm-mtree` executable.
7#[cfg(feature = "cli")]
8pub mod commands;
9mod error;
10pub use error::Error;
1112#[cfg(feature = "creation")]
13pub mod file;
14#[cfg(feature = "creation")]
15pub use file::{
16 create::{create_mtree_v1_from_input_dir, create_mtree_v2_from_input_dir},
17 error::Error as CreationError,
18};
1920pub mod mtree;
21pub use mtree::{Mtree, v2::parse_mtree_v2};
2223/// Low-level parser for MTREE files. You'll likely want to use [`parse_mtree_v2`] instead.
24pub mod parser;
25/// MTREE files use a special non-ascii encoding for their paths.
26mod path_decoder;
2728mod utils;
29pub(crate) use utils::mtree_buffer_to_string;
3031mod schema;
32pub use schema::MtreeSchema;