use camino::Utf8PathBuf;
use xchecker_utils::canonicalization::Canonicalizer;
pub struct ReceiptManager {
pub(super) receipts_path: Utf8PathBuf,
pub(super) canonicalizer: Canonicalizer,
}
impl ReceiptManager {
#[must_use]
pub fn new(spec_base_path: &Utf8PathBuf) -> Self {
Self {
receipts_path: spec_base_path.join("receipts"),
canonicalizer: Canonicalizer::new(),
}
}
}