alpm_mtree/
lib.rs

1#![doc = include_str!("../README.md")]
2
3/// Commandline argument handling. This is most likely not interesting for you.
4#[cfg(feature = "cli")]
5#[doc(hidden)]
6pub mod cli;
7mod error;
8pub use error::Error;
9
10#[cfg(feature = "creation")]
11pub mod file;
12#[cfg(feature = "creation")]
13pub use file::{
14    create::{create_mtree_v1_from_input_dir, create_mtree_v2_from_input_dir},
15    error::Error as CreationError,
16};
17
18pub mod mtree;
19pub use mtree::{Mtree, v2::parse_mtree_v2};
20
21/// Low-level parser for MTREE files. You'll likely want to use [`parse_mtree_v2`] instead.
22pub mod parser;
23/// MTREE files use a special non-ascii encoding for their paths.
24mod path_decoder;
25
26mod utils;
27pub(crate) use utils::mtree_buffer_to_string;
28
29mod schema;
30pub use schema::MtreeSchema;
31
32fluent_i18n::i18n!("locales");