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

Method unwatch

src/index.ts:1084–1089  ·  view source on GitHub ↗

* Stop watching for file changes.

()

Source from the content-addressed store, hash-verified

1082 * Stop watching for file changes.
1083 */
1084 unwatch(): void {
1085 if (this.watcher) {
1086 this.watcher.stop();
1087 this.watcher = null;
1088 }
1089 }
1090
1091 /**
1092 * 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