pub mod apath;
pub mod archive;
pub mod backup;
mod band;
pub mod bandid;
pub mod blockdir;
pub mod blockhash;
pub mod change;
pub mod compress;
pub mod counters;
mod diff;
pub mod entry;
pub mod errors;
pub mod excludes;
mod gc_lock;
pub mod index;
mod io;
mod jsonio;
pub mod kind;
pub mod live_tree;
mod merge;
pub mod misc;
pub mod monitor;
pub mod owner;
pub mod restore;
pub mod show;
pub mod stats;
mod stitch;
mod stored_tree;
pub mod termui;
pub mod test_fixtures;
pub mod transport;
mod tree;
pub mod unix_mode;
pub mod unix_time;
pub mod validate;
pub use crate::apath::Apath;
pub use crate::archive::Archive;
pub use crate::archive::DeleteOptions;
pub use crate::backup::{backup, BackupOptions, BackupStats};
pub use crate::band::{Band, BandSelectionPolicy};
pub use crate::bandid::BandId;
pub use crate::blockdir::BlockDir;
pub use crate::blockhash::BlockHash;
pub use crate::change::{ChangeCallback, EntryChange};
pub use crate::diff::{diff, DiffOptions};
pub use crate::entry::{EntryTrait, EntryValue};
pub use crate::errors::Error;
pub use crate::excludes::Exclude;
pub use crate::gc_lock::GarbageCollectionLock;
pub use crate::index::{IndexEntry, IndexRead, IndexWriter};
pub use crate::kind::Kind;
pub use crate::live_tree::LiveTree;
pub use crate::merge::MergeTrees;
pub use crate::misc::bytes_to_human_mb;
pub use crate::owner::Owner;
pub use crate::restore::{restore, RestoreOptions};
pub use crate::show::{show_versions, ShowVersionsOptions};
pub use crate::stats::DeleteStats;
pub use crate::stored_tree::StoredTree;
pub use crate::transport::{open_transport, Transport};
pub use crate::tree::{ReadTree, TreeSize};
pub use crate::unix_mode::UnixMode;
pub use crate::validate::ValidateOptions;
pub type Result<T> = std::result::Result<T, Error>;
const VERSION: &str = env!("CARGO_PKG_VERSION");
pub fn version() -> &'static str {
VERSION
}
pub const ARCHIVE_VERSION: &str = "0.6";
pub const SYMLINKS_SUPPORTED: bool = cfg!(target_family = "unix");
const TMP_PREFIX: &str = "tmp";
static BAND_HEAD_FILENAME: &str = "BANDHEAD";
static BAND_TAIL_FILENAME: &str = "BANDTAIL";
pub(crate) const BLAKE_HASH_SIZE_BYTES: usize = 64;
pub type EntryCallback<'cb> = Box<dyn Fn(&IndexEntry) + 'cb>;