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

Method unwatch

src/index.ts:1015–1020  ·  view source on GitHub ↗

* Stop watching for file changes.

()

Source from the content-addressed store, hash-verified

1013 * Stop watching for file changes.
1014 */
1015 unwatch(): void {
1016 if (this.watcher) {
1017 this.watcher.stop();
1018 this.watcher = null;
1019 }
1020 }
1021
1022 /**
1023 * Check if the file watcher is active.

Callers 4

closeMethod · 0.95
watcher.test.tsFile · 0.80

Calls 1

stopMethod · 0.65

Tested by

no test coverage detected