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

Method close

src/index.ts:448–453  ·  view source on GitHub ↗

* Close the CodeGraph instance and release resources

()

Source from the content-addressed store, hash-verified

446 * Close the CodeGraph instance and release resources
447 */
448 close(): void {
449 this.unwatch();
450 // Release file lock if held
451 this.fileLock.release();
452 this.db.close();
453 }
454
455 /**
456 * Get the project root directory

Callers 2

destroyMethod · 0.95
uninitializeMethod · 0.95

Calls 3

unwatchMethod · 0.95
closeMethod · 0.65
releaseMethod · 0.45

Tested by

no test coverage detected