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

Function fn

__tests__/vue-store-extraction.test.ts:85–86  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

83 await cg.indexAll();
84 const db = (cg as any).db.db;
85 const fn = (name: string) =>
86 db.prepare(`SELECT count(*) c FROM nodes WHERE name = ? AND kind = 'function'`).get(name).c;
87
88 // Vuex module: actions + mutations extracted.
89 expect(fn('login')).toBeGreaterThan(0);

Callers 1

Calls 2

getMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected