MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / close

Method close

src/index.ts:405–410  ·  view source on GitHub ↗

* Close the CodeGraph instance and release resources

()

Source from the content-addressed store, hash-verified

403 * Close the CodeGraph instance and release resources
404 */
405 close(): void {
406 this.unwatch();
407 // Release file lock if held
408 this.fileLock.release();
409 this.db.close();
410 }
411
412 /**
413 * Get the project root directory

Callers 2

destroyMethod · 0.95
uninitializeMethod · 0.95

Calls 3

unwatchMethod · 0.95
releaseMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected