Reader and offline maintenance toolkit for Apache Jackrabbit Oak segment-tar (TarMK) repositories: parse archives and records, extract node data, compact, back up, and recover.
//! A repository directory a lock can be taken on and released.
pub(crate)structTestDirectory{pub(crate)path:std::path::PathBuf,
}implTestDirectory{pub(crate)fnnew(name:&str)->Self{let path =std::env::temp_dir().join(format!("froe-lock-{name}-{}",std::process::id()));let_=std::fs::remove_dir_all(&path);std::fs::create_dir_all(&path).expect("create test directory");Self{ path }}}implDrop forTestDirectory{fndrop(&mutself){let_=std::fs::remove_dir_all(&self.path);}}