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

Function uses

__tests__/cpp-template-instantiations.test.ts:114–118  ·  view source on GitHub ↗
(use: string)

Source from the content-addressed store, hash-verified

112
113describe('the forms of a written instantiation', () => {
114 const uses = async (use: string): Promise<CodeGraph> => indexed({
115 'txn.h': TXN,
116 'mixin.h': MIXIN,
117 'use.cc': lines('#include "mixin.h"', use),
118 });
119
120 it('links to the argument of the one instantiation, the rocksdb SecondaryIndexMixin shape', async () => {
121 const cg = await uses('void Run() { auto* m = new Mixin<PlainTxn>(); m->Add(1); }');

Calls 4

fromMethod · 0.80
indexedFunction · 0.70
linesFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected