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

Function makeNode

__tests__/fts5-fallback.test.ts:26–41  ·  view source on GitHub ↗
(name: string, docstring?: string)

Source from the content-addressed store, hash-verified

24}
25
26function makeNode(name: string, docstring?: string): Node {
27 return {
28 id: name,
29 kind: 'function',
30 name,
31 qualifiedName: name,
32 filePath: 'src/users.ts',
33 language: 'typescript',
34 startLine: 1,
35 endLine: 1,
36 startColumn: 0,
37 endColumn: 0,
38 docstring,
39 updatedAt: Date.now(),
40 };
41}
42
43describe('FTS5 fallback (#1532)', () => {
44 let dir: string;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected