(configured: GitWatch)
| 38 | |
| 39 | impl SelectedChangeSource { |
| 40 | pub fn new(configured: GitWatch) -> Self { |
| 41 | Self::with_sources( |
| 42 | configured, |
| 43 | ChangeSourceEnvironment::detect(), |
| 44 | Arc::new(FsmonitorChangeSource::new( |
| 45 | Duration::from_secs(5), |
| 46 | 1_000_000, |
| 47 | )), |
| 48 | Arc::new(WatchmanChangeSource::new(Duration::from_secs(5), 1_000_000)), |
| 49 | ) |
| 50 | } |
| 51 | |
| 52 | pub fn with_sources( |
| 53 | configured: GitWatch, |
nothing calls this directly
no outgoing calls
no test coverage detected