MCPcopy Create free account
hub / github.com/webpro-nl/knip / stop

Method stop

packages/language-server/src/server.js:275–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 }
274
275 stop() {
276 this.session = undefined;
277 this.fileCache = undefined;
278 for (const uri of this.published) this.connection.sendDiagnostics({ uri, diagnostics: [] });
279 this.published.clear();
280 }
281
282 restart() {
283 this.stop();

Callers 2

setupHandlersMethod · 0.95
restartMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected