1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! The filesystem-watch subsystem (spec ยง4).
//!
//! [`source`] bridges notify's debounced events onto a tokio channel.
//! [`WatchFilter`] decides which delivered paths trigger a restart, and
//! [`spawn_watch_group`] runs one name-group's restart loop over them,
//! single-flighted like [`crate::cron`]'s.
//!
//! A triggering change restarts every instance of the name, stopped ones
//! included: disarming a sheep's watch is what keeps it down. A rescan
//! bypasses both glob sets and always restarts. `watch = true` requires `cwd`.
pub use WatchFilter;
pub use own_log_ignores;
pub use spawn_watch_group;
pub use ;
/// The real-time constants shared by every real-filesystem test suite in
/// this crate: [`source`]'s smoke tests, this module's own case for
/// [`spawn_watch_group`], and the extras registry's arm/disarm case.
///
/// One owner rather than a copy per suite, since every one of them drives
/// the same debouncer at the same delay. `TEST_DELAY` and `NO_EVENT_WINDOW`
/// are load-bearing together; see the assertion at the top of `source`'s tests.
pub