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

Method close

src/index.ts:413–418  ·  view source on GitHub ↗

* Close the CodeGraph instance and release resources

()

Source from the content-addressed store, hash-verified

411 * Close the CodeGraph instance and release resources
412 */
413 close(): void {
414 this.unwatch();
415 // Release file lock if held
416 this.fileLock.release();
417 this.db.close();
418 }
419
420 /**
421 * 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