Create a new fallback watcher with the given configuration.
(config: WatcherConfig)
| 200 | impl FallbackWatcher { |
| 201 | /// Create a new fallback watcher with the given configuration. |
| 202 | pub fn new(config: WatcherConfig) -> Self { |
| 203 | Self { |
| 204 | config, |
| 205 | pre_snapshot: None, |
| 206 | active_session: None, |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | /// Returns the repository root path. |
| 211 | pub fn repo_root(&self) -> &Path { |
nothing calls this directly
no outgoing calls
no test coverage detected