Ignorer

Trait Ignorer 

Source
pub trait Ignorer {
    // Required method
    fn excludes(&mut self, paths: &Path) -> Result<bool>;
}

Required Methods§

Source

fn excludes(&mut self, paths: &Path) -> Result<bool>

Tell whether all given paths are excluded according to either the global gitignore rules or the ones of the repository.

Return Ok(false) when at least one file is included (i.e. we should execute the job)

Implementors§