use vfile::util::location::Location;

use crate::chopper::error::Result;
use crate::chopper::types::TimestampRange;
use crate::input::input::InputFormat;

pub trait DirInputFactory<T> {
    fn create_source(
        &self,
        loc: &Location,
        range: &TimestampRange,
        input_format: InputFormat,
    ) -> Result<Option<T>>;
}
