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

Method unwatch

src/index.ts:2140–2146  ·  view source on GitHub ↗

* Stop watching for file changes.

()

Source from the content-addressed store, hash-verified

2138 * Stop watching for file changes.
2139 */
2140 unwatch(): void {
2141 if (this.watcher) {
2142 this.watcher.stop();
2143 this.watcher = null;
2144 }
2145 if (this.builtOrchestrator) this.builtOrchestrator.setKeepDetectionContents(false);
2146 }
2147
2148 /**
2149 * 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