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

Method optimize

src/db/index.ts:872–875  ·  view source on GitHub ↗

* Optimize database (vacuum and analyze)

()

Source from the content-addressed store, hash-verified

870 * Optimize database (vacuum and analyze)
871 */
872 optimize(): void {
873 this.db.exec('VACUUM');
874 this.db.exec('ANALYZE');
875 }
876
877 /**
878 * Lightweight maintenance to run after bulk writes (indexAll, sync).

Callers

nothing calls this directly

Calls 1

execMethod · 0.65

Tested by

no test coverage detected