pub(crate) mod overlayfs;
pub(crate) mod branchfs;
pub(crate) mod seccomp;
pub(crate) mod dispatch;
use crate::dry_run::Change;
use crate::error::BranchError;
use std::path::Path;
pub(crate) trait CowBranch: Send + Sync {
fn branch_path(&self) -> &Path;
fn commit(&self) -> Result<(), BranchError>;
fn abort(&self) -> Result<(), BranchError>;
fn cleanup(&self) -> Result<(), BranchError>;
fn changes(&self) -> Result<Vec<Change>, BranchError>;
}