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§
fn as_any(&self) -> &dyn Any
Sourcefn matches_commit(&self, commit: &Commit) -> bool
fn matches_commit(&self, commit: &Commit) -> bool
Returns true iff this filter matches the specified commit.