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

Method edgeKindStmt

src/db/queries.ts:664–672  ·  view source on GitHub ↗
(sql: string)

Source from the content-addressed store, hash-verified

662 }
663
664 private edgeKindStmt(sql: string): SqliteStatement {
665 let stmt = this.edgeKindStmts.get(sql);
666 if (!stmt) {
667 if (this.edgeKindStmts.size >= 64) this.edgeKindStmts.delete(this.edgeKindStmts.keys().next().value!);
668 stmt = this.db.prepare(sql);
669 this.edgeKindStmts.set(sql, stmt);
670 }
671 return stmt;
672 }
673
674 /** Set the normalized project-name tokens used to down-weight non-discriminative
675 * query words in path scoring (#720). Called once when the project opens. */

Callers 2

getOutgoingEdgesMethod · 0.95
getIncomingEdgesMethod · 0.95

Calls 5

nextMethod · 0.80
getMethod · 0.65
deleteMethod · 0.65
prepareMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected