Trait jj_lib::matchers::Matcher

source ·
pub trait Matcher: Debug + Sync {
    // Required methods
    fn matches(&self, file: &RepoPath) -> bool;
    fn visit(&self, dir: &RepoPath) -> Visit;
}

Required Methods§

source

fn matches(&self, file: &RepoPath) -> bool

source

fn visit(&self, dir: &RepoPath) -> Visit

Implementations on Foreign Types§

source§

impl<T: Matcher + ?Sized> Matcher for &T

source§

fn matches(&self, file: &RepoPath) -> bool

source§

fn visit(&self, dir: &RepoPath) -> Visit

source§

impl<T: Matcher + ?Sized> Matcher for Box<T>

source§

fn matches(&self, file: &RepoPath) -> bool

source§

fn visit(&self, dir: &RepoPath) -> Visit

Implementors§