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

use crate::chopper::error::Result;
use crate::chopper::types::TimestampRange;
use crate::input::dir::factory::DirInputFactory;
use crate::input::input::InputFormat;

pub struct NoopDirInputFactory;

impl<T> DirInputFactory<T> for NoopDirInputFactory {
    fn create_source(
        &self,
        _loc: &Location,
        _range: &TimestampRange,
        _input_format: InputFormat,
    ) -> Result<Option<T>> {
        Ok(None)
    }
}
