use std::path::PathBuf;

use crate::{error::OuchResult, file::File};

// pub enum CompressionResult {
//     ZipArchive(Vec<u8>),
//     TarArchive(Vec<u8>),
//     FileInMemory(Vec<u8>)
// }

pub enum Entry {
    Files(Vec<PathBuf>),
    InMemory(File)
}

pub trait Compressor {
    fn compress(&self, from: Entry) -> OuchResult<Vec<u8>>;
}