MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isDegraded

Method isDegraded

src/sync/watcher.ts:697–699  ·  view source on GitHub ↗

* Whether live watching has degraded permanently (until the next start()). * Distinct from isActive: a degraded watcher is inactive, but an * inactive watcher is not necessarily degraded (it may simply be stopped or * never started). Hosts use this to tell the user auto-sync is off.

()

Source from the content-addressed store, hash-verified

695 * never started). Hosts use this to tell the user auto-sync is off.
696 */
697 isDegraded(): boolean {
698 return this.degradedReason !== null;
699 }
700
701 /** The reason live watching degraded, or null if it is healthy. */
702 getDegradedReason(): string | null {

Callers 2

isWatcherDegradedMethod · 0.80
watcher.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected