Avril 4 years ago
parent 9dbaa04263
commit 5007654e26
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -325,16 +325,18 @@ pub fn watch(path: impl AsRef<Path>) -> Oneesan
}),
handle,
};
output
}
/// Some predefined filter functions
pub mod filter
{
use super::*;
#[inline(always)]
const fn all(_: &Event) -> bool {true}
/// Empty filter, accept all
pub const ALL: Option<fn (&Event) -> bool> = None;
}

Loading…
Cancel
Save