Trait RevsetFilterExtension

Source
pub trait RevsetFilterExtension: Debug + Any {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn matches_commit(&self, commit: &Commit) -> bool;
}
Expand description

A custom revset filter expression, defined by an extension.

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Source

fn matches_commit(&self, commit: &Commit) -> bool

Returns true iff this filter matches the specified commit.

Implementors§