960d81e
//! archive Operation method trait for the module.
use crate::archive::types::{ArchiveOptions, ArchiveResult};
/// Operation trait for the archive module.
pub trait ArchiveOps {
/// Generate a repository archive (streaming).
fn archive_archive(
&self,
repo: &str,
rev: &str,
opts: &ArchiveOptions,
) -> Result<ArchiveResult, crate::Error>;
}