MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_watchman_unavailable

Method is_watchman_unavailable

atomic-agent/src/error.rs:369–374  ·  view source on GitHub ↗

Returns `true` if this error indicates Watchman is unavailable and the fallback watcher should be used.

(&self)

Source from the content-addressed store, hash-verified

367 /// Returns `true` if this error indicates Watchman is unavailable
368 /// and the fallback watcher should be used.
369 pub fn is_watchman_unavailable(&self) -> bool {
370 matches!(
371 self,
372 AgentError::WatchmanNotRunning | AgentError::WatchmanConnectionFailed { .. }
373 )
374 }
375
376 /// Returns `true` if this error is a session state machine violation
377 /// that might indicate a crashed or interrupted agent.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected