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

Method unwatch

src/index.ts:2089–2095  ·  view source on GitHub ↗

* Stop watching for file changes.

()

Source from the content-addressed store, hash-verified

2087 * Stop watching for file changes.
2088 */
2089 unwatch(): void {
2090 if (this.watcher) {
2091 this.watcher.stop();
2092 this.watcher = null;
2093 }
2094 if (this.builtOrchestrator) this.builtOrchestrator.setKeepDetectionContents(false);
2095 }
2096
2097 /**
2098 * Check if the file watcher is active.

Callers 9

closeMethod · 0.95
stopMethod · 0.80
sync.test.tsFile · 0.80
watcher.test.tsFile · 0.80

Calls 2

stopMethod · 0.65

Tested by

no test coverage detected