(
configured: GitWatch,
environment: ChangeSourceEnvironment,
fsmonitor: Arc<dyn ChangeSource>,
watchman: Arc<dyn ChangeSource>,
)
| 50 | } |
| 51 | |
| 52 | pub fn with_sources( |
| 53 | configured: GitWatch, |
| 54 | environment: ChangeSourceEnvironment, |
| 55 | fsmonitor: Arc<dyn ChangeSource>, |
| 56 | watchman: Arc<dyn ChangeSource>, |
| 57 | ) -> Self { |
| 58 | Self { |
| 59 | configured, |
| 60 | environment, |
| 61 | fsmonitor, |
| 62 | watchman, |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | pub fn changes_with_tokens( |
| 67 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected